Ejemplo n.º 1
0
        public override void Destroy()
        {
            Singleton <MPManager> .Instance.Destroy();

            Singleton <MPManager> .Destroy();

            base.Destroy();
        }
Ejemplo n.º 2
0
 private void OnContinueBtnClick()
 {
     if (Singleton <LevelScoreManager> .Instance != null)
     {
         Singleton <LevelScoreManager> .Destroy();
     }
     this.RequestToEnterLevel();
 }
Ejemplo n.º 3
0
        public void OnDestroy()
        {
            if (Singleton <WwiseAudioManager> .Instance != null)
            {
                Singleton <WwiseAudioManager> .Instance.PopSoundBankScale();

                Singleton <MainMenuBGM> .Instance.TryEnterMainMenu();
            }
            Singleton <LevelManager> .Instance.Destroy();

            Singleton <LevelManager> .Destroy();
        }
Ejemplo n.º 4
0
        public virtual void Destroy()
        {
            Singleton <DynamicObjectManager> .Instance.Destroy();

            Singleton <PropObjectManager> .Instance.Destroy();

            Singleton <MonsterManager> .Instance.Destroy();

            Singleton <AvatarManager> .Instance.Destroy();

            Singleton <EventManager> .Instance.Destroy();

            Singleton <LevelDesignManager> .Instance.Destroy();

            Singleton <AuxObjectManager> .Instance.Destroy();

            Singleton <EffectManager> .Instance.Clear();

            Singleton <DynamicObjectManager> .Destroy();

            Singleton <MonsterManager> .Destroy();

            Singleton <PropObjectManager> .Destroy();

            Singleton <CameraManager> .Destroy();

            Singleton <AvatarManager> .Destroy();

            Singleton <RuntimeIDManager> .Destroy();

            Singleton <StageManager> .Destroy();

            Singleton <EventManager> .Destroy();

            Singleton <LevelDesignManager> .Destroy();

            Singleton <AuxObjectManager> .Destroy();

            Singleton <DetourManager> .Destroy();

            Singleton <ShaderDataManager> .Destroy();

            Singleton <CinemaDataManager> .Destroy();

            this.DestroyBehaviorDesigner();
            this.ResetGlobalTimeScale();
        }
Ejemplo n.º 5
0
        public override void Destroy()
        {
            if (Singleton <LevelScoreManager> .Instance == null)
            {
                base.Destroy();
            }
            else
            {
                bool hasNuclearActivityBefore = Singleton <LevelScoreManager> .Instance.hasNuclearActivityBefore;
                bool flag2 = (this._levelData != null) && Singleton <LevelScoreManager> .Instance.HasNuclearActivity(this._levelData.levelId);

                bool body = !hasNuclearActivityBefore && flag2;
                Singleton <LevelScoreManager> .Destroy();

                Singleton <NetworkManager> .Instance.RequestHasGotItemIdList();

                base.Destroy();
                if (this.onDestory != null)
                {
                    this.onDestory();
                }
                Singleton <NotifyManager> .Instance.FireNotify(new Notify(NotifyTypes.StageEnd, body));
            }
        }
Ejemplo n.º 6
0
        public static void DestroyAll()
        {
            Singleton <WwiseAudioManager> .Instance.Destroy();

            Singleton <WwiseAudioManager> .Destroy();

            Singleton <AssetBundleManager> .Instance.Destroy();

            Singleton <AssetBundleManager> .Destroy();

            Singleton <MiHoYoGameData> .Destroy();

            Singleton <AccountManager> .Destroy();

            Singleton <NotifyManager> .Destroy();

            Singleton <NetworkManager> .Instance.Destroy();

            Singleton <NetworkManager> .Destroy();

            Singleton <MainUIManager> .Destroy();

            Singleton <IslandModule> .Destroy();

            Singleton <StorageModule> .Destroy();

            Singleton <PlayerModule> .Destroy();

            Singleton <AvatarModule> .Destroy();

            Singleton <LevelModule> .Destroy();

            Singleton <GachaModule> .Destroy();

            Singleton <FriendModule> .Destroy();

            Singleton <MailModule> .Destroy();

            Singleton <ChatModule> .Destroy();

            Singleton <MissionModule> .Destroy();

            Singleton <TutorialModule> .Instance.Destroy();

            Singleton <TutorialModule> .Destroy();

            Singleton <LevelTutorialModule> .Destroy();

            Singleton <CGModule> .Destroy();

            Singleton <CommonIDModule> .Destroy();

            Singleton <LevelPlotModule> .Destroy();

            Singleton <GalTouchModule> .Destroy();

            Singleton <BulletinModule> .Destroy();

            if (Singleton <EndlessModule> .Instance != null)
            {
                Singleton <EndlessModule> .Destroy();
            }
            Singleton <TestModule> .Destroy();

            Singleton <ApplicationManager> .Instance.Destroy();

            Singleton <ApplicationManager> .Destroy();

            Singleton <ChannelPayModule> .Destroy();

            Singleton <ShopWelfareModule> .Destroy();

            Singleton <ItempediaModule> .Destroy();

            Singleton <StoreModule> .Destroy();

            Singleton <MainMenuBGM> .Destroy();

            Singleton <RealTimeWeatherManager> .Destroy();

            Singleton <EffectManager> .Instance.Destroy();

            Singleton <EffectManager> .Destroy();

            Singleton <QAManager> .Instance.Destroy();

            Singleton <QAManager> .Destroy();
        }
Ejemplo n.º 7
0
        public void OnDestroy()
        {
            Singleton <LevelManager> .Instance.Destroy();

            Singleton <LevelManager> .Destroy();
        }