복잡한 상태를 하위 계층 구조로 나누어 관리할 수 있는 sub state machine을 사용하여 콤보 공격을 구현하였다. 콤보 공격에 사용된 sub state machine의 내부 구조는 다음과 같다. 이런식으로 인덱스가 같으면 다음 인덱스로 넘어가게끔 한 것이다. 아래는 콤보 구현 방식 코드이다.using UnityEngine;public class Player_BasicAttackState : EntityState{ private float attackVelocityTimer; private const int FirstComboIndex = 1; private int comboIndex = 1; private int comboLimit = 3; public Player_B..