Exemple #1
0
 private void LoadGameScreens()
 {
     foreach (GameObject go in goGameScreens)
     {
         IScreen screen = go.GetComponent <IScreen>();
         screens.Add(screen);
         screenDirector.LoadScreen(screen);
     }
 }
Exemple #2
0
 static public void Open()
 {
     ScreenDirector.LoadScreen("Alert", null);
 }
Exemple #3
0
 static public void Open()
 {
     ScreenDirector.LoadScreen("Play", null, true);
 }