protected override void SetButtons()
 {
     ContinueButton = GameObject.Find("ContinueLevelMenu_NextLevelButton").GetComponent <MenuButton>();
     RestartButton  = GameObject.Find("ContinueLevelMenu_RestartButton").GetComponent <MenuButton>();
     QuitButton     = GameObject.Find("ContinueLevelMenu_QuitButton").GetComponent <MenuButton>();
 }
Example #2
0
 protected override void SetButtons()
 {
     MenuButton    = GameObject.Find("GameFinishMenu_MainMenu").GetComponent <MenuButton>();
     RestartButton = GameObject.Find("GameFinishMenu_RestartButton").GetComponent <MenuButton>();
     QuitButton    = GameObject.Find("GameFinishMenu_QuitButton").GetComponent <MenuButton>();
 }
Example #3
0
 protected override void SetButtons()
 {
     StartGameButton = GameObject.Find("MainMenu_StartGameButton").GetComponent <MenuButton>();
     QuitButton      = GameObject.Find("MainMenu_QuitButton").GetComponent <MenuButton>();
 }
Example #4
0
 protected override void SetButtons()
 {
     RestartButton = GameObject.Find("EndGameMenu_RestartButton").GetComponent <MenuButton>();
     QuitButton    = GameObject.Find("EndGameMenu_QuitButton").GetComponent <MenuButton>();
 }
Example #5
0
    public void TriggerMenu()
    {
        UI.MenuButton button = trigger.GetComponent <UI.MenuButton>();

        button.unlocked = true;
    }