Example #1
0
 private void Update()
 {
     if (Input.GetKeyDown(key) && transition != null)
     {
         transition.MoveToNextState();
     }
 }