Esempio n. 1
0
 private void OnCollisionEnter(Collision other)
 {
     // In case transition condition was a solid object not a trigger
     //Debug.Log("CollisionEnter" + other.collider.name);
     currentState.TransitionCondition(other.collider);
 }