Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
코드 리뷰 요청 211209
외부 팀 프로젝트에서 개발하며 작성 중인 코드입니다.
미처 다 구현되지 않아 혹시 읽는게 난해할 수 있는 점 양해 부탁 드립니다. 구현되지 않은 부분은
// Todo :
로 명시해두었습니다.캐릭터 동작 관리를 위해서 FSM을 조사해 적용해 봤는데요. 전체적인 개념은 알고 있지만 찾았던 예제에서 동작상의 오류...개선할 점이 있다고 판단해 일단 수정을 하면서 적용을 했습니다. 그런데 수정한 부분이 사실 구현 의도에서 벗어난 게 아닌가 하는 걱정도 생기고 공부를 하면서 배운 내용과 크게 다르지 않지만 놓친 부분이 있지는 않을까 생각이 들어서 다른 사람들에게 보이는게 좋겠다 생각했습니다.
첨부한 스크립트 에서 고쳐야 할 점이 있다면 지적과 올바른 경우에 대한 지시를 주시면 감사하겠습니다.
클래스 설명
캐릭터 상태와 이동, 충돌같이 캐릭터의 정보와 동작을 관리하는 클래스입니다.
CharacterState에서는 사용할 State들을 정의만 하고 CharacterControl에서 State들을 사용해
매 프레임마다 state를 갱신하고 클래스에서 필요한 동작을 합니다.
감사합니다.