コード例 #1
0
ファイル: LevelController.cs プロジェクト: Tetawex/unityTest
        public void StartNewRound()
        {
            if (roundContainer.HasMoreRounds)
            {
                roundContainer.SpawnNextRound();
                Invoke("StartStandoff", standoffStartTime);

                RoundCompletedEvent.Invoke(roundContainer.CurrentRound);
            }
            else
            {
                gameController.InvokeLevelCompletedEvent(true);
            }
        }
コード例 #2
0
ファイル: TimerUI.cs プロジェクト: Lord-killer-bee/ArrowGame
 private void OnRoundCompleted(RoundCompletedEvent e)
 {
     timerStarted = false;
     timerText.gameObject.SetActive(false);
 }