Example #1
0
        protected override void OnStateExited()
        {
            // cleanup battle here
            BattlePlayerTeams.ClearTeams();
            BattleRecyclables.Clear();
            PlayerSpawner.CleanupAllPlayers();
            AISpawner.CleanupAllPlayers();

            InGameConstants.AllowChargingLasers = true;
            InGameConstants.EnableQuacking      = false;

            celebrateActionAccumulator_.EndAccumulating();

            Hint.Hide();
        }
Example #2
0
        protected override void OnStateExited()
        {
            GameModeIntroView.OnIntroFinished -= HandleIntroFinished;

            CleanupPauseController();
            CleanupCurrentGameMode();

            GameModeIntroView.Cleanup();
            reflectActionAccumulator_.EndAccumulating();

            InGamePlayerCollectionView.Hide();
            InGamePlayerHUDEffect.CleanupAllEffects();

            onSkipBattle_ = null;
        }