Esempio n. 1
0
 public override void OnStateUpdate()
 {
     if (Input.GetKeyDown(KeyCode.Escape))
     {
         hub.SwitchToPlay();
     }
 }