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>(); }
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>(); }
protected override void SetButtons() { StartGameButton = GameObject.Find("MainMenu_StartGameButton").GetComponent <MenuButton>(); QuitButton = GameObject.Find("MainMenu_QuitButton").GetComponent <MenuButton>(); }
protected override void SetButtons() { RestartButton = GameObject.Find("EndGameMenu_RestartButton").GetComponent <MenuButton>(); QuitButton = GameObject.Find("EndGameMenu_QuitButton").GetComponent <MenuButton>(); }
public void TriggerMenu() { UI.MenuButton button = trigger.GetComponent <UI.MenuButton>(); button.unlocked = true; }