Exemplo n.º 1
0
 void Update( )
 {
     if (Input.GetKeyDown(KeyCode.Escape))
     {
         Uhh.LoadLevel("StartScreen");
     }
 }
Exemplo n.º 2
0
 void Update( )
 {
     if (Input.GetKeyDown(KeyCode.Return))
     {
         Uhh.LoadLevel(levelToLoad);
     }
 }