Beispiel #1
0
        public void StartNewRound()
        {
            if (roundContainer.HasMoreRounds)
            {
                roundContainer.SpawnNextRound();
                Invoke("StartStandoff", standoffStartTime);

                RoundCompletedEvent.Invoke(roundContainer.CurrentRound);
            }
            else
            {
                gameController.InvokeLevelCompletedEvent(true);
            }
        }
Beispiel #2
0
 private void OnRoundCompleted(RoundCompletedEvent e)
 {
     timerStarted = false;
     timerText.gameObject.SetActive(false);
 }