Пример #1
0
 void OnControllerColliderHit(ControllerColliderHit hit)
 {
     if (hit.collider.tag == "Enemy")
     {
         ChangeStateIfNotNull(currentState.EnemyTouched());
     }
 }