Beispiel #1
0
 // Update is called once per frame
 void Update()
 {
     if (Input.GetKeyDown("space"))
     {
         levelManager.NextLevel();
     }
 }
Beispiel #2
0
 void GotoNextLevel()
 {
     print("goto next level now");
     if (levelManager != null)
     {
         levelManager.NextLevel();
     }
 }