void Awake() { MainPanel = GameObject.Find("MainPanel"); RankingPanel = GameObject.Find("RankingPanel"); CreditsPanel = GameObject.Find("CreditsPanel"); Panel = GameObject.Find("Panel"); CreditsPanel.SetActive(false); RankingPanel.SetActive(false); }
public void CloseRanking() { RankingPanel.SetActive(false); MainPanel.SetActive(true); }
public void OpenRanking() { MainPanel.SetActive(false); RankingPanel.SetActive(true); }