We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
스탯과 직책등 데이터 요소들을 배열로 관리하는데 이는 다음과 같은 문제를 야기시킵니다.
Project_Politic/Project_Politics/Assets/Scripts/UI/Popup/UI_Conversation.cs
Lines 80 to 96 in 2d9f9b2
따라서 데이터를 처리할 Wrapper 클래스가 필요합니다. Wrapper 클래스에는 다음과 같은 요소가 포함되어야 합니다.
The text was updated successfully, but these errors were encountered:
동의하시면 작업해보겠습니다
Sorry, something went wrong.
늦어서 미안해요 저는 동의하고 채영이도 보고서 동의하면 댓글 추가해주세요
확인이 늦었네요 ㅠ 해당 방향으로 작업하는 게 좋을 것 같아요!
dongcheolpark
ch-0012
Yeogiwon
No branches or pull requests
📔 작업 설명 📔
스탯과 직책등 데이터 요소들을 배열로 관리하는데 이는 다음과 같은 문제를 야기시킵니다.
Project_Politic/Project_Politics/Assets/Scripts/UI/Popup/UI_Conversation.cs
Lines 80 to 96 in 2d9f9b2
위 코드에서는 스탯의 이름을 Enum.getname함수를 통해 가져오고 있습니다. 가져올 때 Enum의 Pos값이 필요하기에 Foreach등을 사용할 수 없어 코드가 알아보기 힘들어지고 복잡해집니다.
직책이 추가, 삭제 되었을 때 배열을 사용하면 순서에 의존적이고 중복 코드가 많은 현재 코드는 이를 다루기 어렵습니다.
따라서 데이터를 처리할 Wrapper 클래스가 필요합니다. Wrapper 클래스에는 다음과 같은 요소가 포함되어야 합니다.
The text was updated successfully, but these errors were encountered: