Пример #1
0
 void Update()
 {
     if (Input.GetKey(KeyCode.Escape))
     {
         //      Debug.Log("exited game");
         exit.quitGame();
     }
 }