public static void GUILevelWin() { EnableButton("Pause"); EnableButton("Back"); EnableButton("Restart"); // DisableButton("DeathRetry"); // DisableButton("DeathRetryFullscreen"); if (LoadLevel.IsPrevLevelAvailable()) { EnableButton("Previous"); } if (LoadLevel.IsNextLevelAvailable()) { EnableButton("Next"); } }
public static void GUILevelPause() { MusicVolumeModifier = PausedVolumeModifier; GUIController.ShowText("LevelName"); GUIController.ShowText("Paused", "Paused"); EnableButton("Pause"); EnableButton("Back"); EnableButton("Restart"); // DisableButton("DeathRetry"); DisableButton("DeathRetryFullscreen"); if (LoadLevel.IsPrevLevelAvailable()) { EnableButton("Previous"); } if (LoadLevel.IsNextLevelAvailable()) { EnableButton("Next"); } }