예제 #1
0
 void ShowNoLevels()
 {
     noLevelsComplete = true;
     DisableArrows();
     levelSelectButton.gameObject.SetActive(false);
     backButton.Select();
     countTextBox.text     = "0/0";
     levelNameTextBox.text = "There are no levels to delete.";
     previewer.DisableCurrentWallsAndClearList();
 }
 void ShowNoLevels()
 {
     //TODO: Show no level notification
     noLevelsComplete = true;
     DisableArrows();
     levelSelectButton.gameObject.SetActive(false);
     backButton.Select();
     countTextBox.text     = "0/0";
     levelNameTextBox.text = "There are no levels to play." +
                             (GameConfigReader.ConfigReader.Configuration.AllowLevelCreation ? " Create some!" : "");
     previewer.DisableCurrentWallsAndClearList();
 }