Example #1
0
    /// <summary>
    /// Display the next and/or last button (the arrow around the level at the top of the screen)
    /// </summary>
    public void ButtonLogic()
    {
//		if (gameManager.isGameOver || gameManager.success)
//		{
//			SetButtonActive(buttonLastLevel,false);
//			SetButtonActive(buttonNextLevel,false);
//			return;
//		}

        SetButtonActive(buttonLastLevel, Util.ActivateButtonLast());

        SetButtonActive(buttonNextLevel, Util.ActivateButtonNext());
    }