Пример #1
0
 void Awake()
 {
     MainPanel    = GameObject.Find("MainPanel");
     RankingPanel = GameObject.Find("RankingPanel");
     CreditsPanel = GameObject.Find("CreditsPanel");
     Panel        = GameObject.Find("Panel");
     CreditsPanel.SetActive(false);
     RankingPanel.SetActive(false);
 }
Пример #2
0
 public void CloseRanking()
 {
     RankingPanel.SetActive(false);
     MainPanel.SetActive(true);
 }
Пример #3
0
 public void OpenRanking()
 {
     MainPanel.SetActive(false);
     RankingPanel.SetActive(true);
 }