Exemple #1
0
 public static void OpenScene(SceneParent newScene)
 {
     currentScenes.Add(newScene);
     newScene.Start();
     sceneChanged = true;
 }
Exemple #2
0
 public static void ChangeScene(SceneParent newScene)
 {
     currentScenes.Clear();
     OpenScene(newScene);
 }