public void LevelComplete(string levelText) { NextBtn.SetActive(true); ShareBtn.SetActive(true); MainMenuBtn.SetActive(true); RestartBtn.SetActive(true); OptionsBtn.SetActive(false); ResumeBtn.SetActive(false); LevelSelectBtn.SetActive(false); PositionMenuBtn(RestartBtn, GetButtonPosX(1, 4)); PositionMenuBtn(MainMenuBtn, GetButtonPosX(2, 4)); PositionMenuBtn(ShareBtn, GetButtonPosX(3, 4)); PositionMenuBtn(NextBtn, GetButtonPosX(4, 4)); _menuHeader.Text.text = "LEVEL COMPLETE!"; _subText.Text.text = levelText; _menu.StartCoroutine("PanelDropAnim", true); }
public void OptionsButtonPressed() { _menu.StartCoroutine("MenuSwitchAnim", true); }