public void Display() { Show(); if (Cho.IsShowStateWindow) { GameWindows.StateWindow(PlayData.player, 20, 8); } }
private void Awake() { _windows = UIController.Instance.GameWindows; // adding listeners to all buttons startGameButton.onClick.AddListener(StartGame); highScoreButton.onClick.AddListener(HighScore); exitButton.onClick.AddListener(Exit); }
public void Display(Choice choice) { Init(); Cho = choice; currentOpenChoice = choice; Show(); if (Cho.IsShowStateWindow) { GameWindows.StateWindow(PlayData.player, 20, 8); } choice.IsVisit = true; }
protected virtual void Awake() { _windows = UIController.Instance.GameWindows; backButton.onClick.AddListener(Back); }