Пример #1
0
        private void BeginBuildPhase()
        {
            UIPhaseController.Singleton.BeginPhases(); // Set the current UI phase to build.

            CameraController.Singleton.CanReadInput = true;
            BorderController.SetupBorder();
            BuildController.Singleton.BeginBuildPhase(currentRound.Template.RoundBuildingBlockTemplates);
        }
Пример #2
0
        /// <summary>
        /// Creates a new round from a random round template.
        /// </summary>
        public void CreateNewRound()
        {
            BorderController.HideBorder();
            RoundCleanController.Singleton.CleanRound();

            StopCoroutine("BuildCycle");
            StopCoroutine("ActionPhase");
            roundHasEnded = false;

            currentRound = new Round(ChooseRoundTemplate());

            ChallengesController.ResetChallengeValues();

            UIChallengesController.Singleton.InitializeUIChallenges(currentRound.RoundChallenges);
        }