Пример #1
0
    public static void GUILevelWin()
    {
        EnableButton("Pause");

        EnableButton("Back");
        EnableButton("Restart");

//		DisableButton("DeathRetry");
//		DisableButton("DeathRetryFullscreen");

        if (LoadLevel.IsPrevLevelAvailable())
        {
            EnableButton("Previous");
        }
        if (LoadLevel.IsNextLevelAvailable())
        {
            EnableButton("Next");
        }
    }
Пример #2
0
    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");
        }
    }