Example #1
0
 public void Display()
 {
     Show();
     if (Cho.IsShowStateWindow)
     {
         GameWindows.StateWindow(PlayData.player, 20, 8);
     }
 }
Example #2
0
        private void Awake()
        {
            _windows = UIController.Instance.GameWindows;

            // adding listeners to all buttons
            startGameButton.onClick.AddListener(StartGame);
            highScoreButton.onClick.AddListener(HighScore);
            exitButton.onClick.AddListener(Exit);
        }
Example #3
0
 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);
        }