예제 #1
0
 // Initialise the game in a new scene
 void InitGame()
 {
     // Setup the current scene
     sceneScript.setupScene(level);
     // Hide the editor only objects
     foreach (GameObject obj in GameObject.FindGameObjectsWithTag("editor_only"))
     {
         obj.SetActive(false);
     }
 }
예제 #2
0
 private void InitGame()
 {
     sceneScript.setupScene(level);
 }