Example #1
0
 void OnLevelWasLoaded()
 {
     LoadButtons();
     if (previousScene.Equals("GameLevel"))
     {
         l = null;
     }
     if (l != null)
     {
         l.BuildScene();
         previousScene = "GameLevel";
     }
 }