예제 #1
0
 void FixedUpdate()
 {
     if (controlState == ControlState.CONTROLLABLE)
     {
         movementState = SwitchState(movementState.ProcessMovement(this));
         movementState = SwitchState(movementState.ProcessJump(this));
     }
 }