コード例 #1
0
 void OnDisable()
 {
     DomainEventManager.StopGlobalListening(EventNames.SmartBombCollected, OnSmartBombCollected);
     DomainEventManager.StopGlobalListening(EventNames.WaveStart, OnWaveStart);
     DomainEventManager.StopGlobalListening(EventNames.WaveFailed, Disable);
     DomainEventManager.StopGlobalListening(EventNames.WaveComplete, Disable);
 }
コード例 #2
0
    void OnDisable()
    {
//		PointsObject.onReleasePoints -= UpdateUI;
//		PlayerObjectScript.onScoreUpdate -= UpdateUI;
//		CrystalQuestScoreManager.onScoreUpdate -= UpdateUI;

        DomainEventManager.StopGlobalListening(EventNames.ScoreUpdate, UpdateUI);
    }
コード例 #3
0
    void OnDisable()
    {
        DomainEventManager.StopGlobalListening(EventNames.WavePreInit, OnWavePreInit);
        DomainEventManager.StopGlobalListening(EventNames.ExtraLifeGained, OnExtraLifeGained);
        DomainEventManager.StopGlobalListening(EventNames.WaveStart, OnWaveStart);
        DomainEventManager.StopGlobalListening(EventNames.WaveComplete, OnWaveComplete);
//		DomainEventManager.StopGlobalListening (EventNames.WaveInit, OnWaveInit);
    }
コード例 #4
0
    void OnDisable()
    {
        DomainEventManager.StopGlobalListening(EventNames.WaveTaskCompleted, OnOpeningPortal);
        DomainEventManager.StopGlobalListening(EventNames.OpenLevelPortal, OnOpeningPortal);

        DomainEventManager.StopGlobalListening(EventNames.WaveInit, OnClosingPortal);
        DomainEventManager.StopGlobalListening(EventNames.CloseLevelPortal, OnClosingPortal);
    }
コード例 #5
0
    void OnDisable()
    {
//		DomainEventManager.StopGlobalListening (EventNames.WaveStart);
//		DomainEventManager.StopGlobalListening (EventNames.WaveFailed);
//		DomainEventManager.StopGlobalListening (EventNames.WaveComplete);
        DomainEventManager.StopGlobalListening(EventNames.SmartBombButtonEnabled, EnableButton);
        DomainEventManager.StopGlobalListening(EventNames.SmartBombButtonDisabled, DisableButton);
    }
コード例 #6
0
 void OnDisable()
 {
     DomainEventManager.StopGlobalListening(EventNames.WaveInit, OnWaveInit);
     //		CrystalObject.onCrystalCreated -= OnCrystalCreated;
     //		CrystalObject.onCrystalCollected -= Collected;
     //		CrystalObject.onCreated -= RegisterObjectScript;
     //		CrystalObject.onDestroyed -= UnregisterObjectScript;
 }
コード例 #7
0
ファイル: UIWaveTime.cs プロジェクト: lemonyzer/CrystalQuest
 // Update is called once per frame
 void OnDisable()
 {
     DomainEventManager.StopGlobalListening(EventNames.WaveInit, OnWaveInit);
     DomainEventManager.StopGlobalListening(EventNames.WaveStart, OnWaveStart);
     DomainEventManager.StopGlobalListening(EventNames.WaveFailed, OnWaveFailed);
     DomainEventManager.StopGlobalListening(EventNames.WaveComplete, OnWaveComplete);
     DomainEventManager.StopGlobalListening(EventNames.OnGameOver, OnGameOver);
 }
コード例 #8
0
    // Update is called once per frame
    void OnDisable()
    {
//		DomainEventManager.StopGlobalListening (EventNames.AllCrystalsCollected, OnAllCrystalsCollected);
        DomainEventManager.StopGlobalListening(EventNames.SmartBombTriggered, OnSmartBombTriggered);
        DomainEventManager.StopGlobalListening(EventNames.KillAllEnemies, OnKillAllEnemies);
        DomainEventManager.StopGlobalListening(EventNames.WaveDestroyCurrent, OnWaveDestroyCurrent);
        DomainEventManager.StopGlobalListening(EventNames.WaveFailed, DisableMe);
        DomainEventManager.StopGlobalListening(EventNames.WaveComplete, DisableMe);
    }
コード例 #9
0
    void OnDisable()
    {
        if (DomainEventManager.instance != null)
        {
            DomainEventManager.StopGlobalListening(EventNames.PlayerGameOver, OnGameOver);
            DomainEventManager.StopGlobalListening(EventNames.AllWavesCompleted, OnGameOver);
//		    DomainEventManager.StopGlobalListening (EventNames.OnGameOver, OnGameOver);
        }
    }
コード例 #10
0
    // Update is called once per frame
    void OnDisable()
    {
//		DomainEventManager.StopGlobalListening (EventNames.AllCrystalsCollected, OnAllCrystalsCollected);
        DomainEventManager.StopGlobalListening(EventNames.SmartBombTriggered, OnSmartBombTriggered);
        DomainEventManager.StopGlobalListening(EventNames.RemoveAllProjectiles, DisableMe);
        DomainEventManager.StopGlobalListening(EventNames.WaveDestroyCurrent, DisableMe);
        DomainEventManager.StopGlobalListening(EventNames.WaveFailed, DisableMe);
        DomainEventManager.StopGlobalListening(EventNames.WaveComplete, DisableMe);
    }
コード例 #11
0
    void OnDisable()
    {
        DomainEventManager.StopGlobalListening(EventNames.WaveInit, OnWaveInit);
        DomainEventManager.StopGlobalListening(EventNames.WaveStart, OnWaveStart);
        DomainEventManager.StopGlobalListening(EventNames.WaveRetry, OnWaveRetry);
        DomainEventManager.StopGlobalListening(EventNames.WaveFailed, OnWaveFailed);
        DomainEventManager.StopGlobalListening(EventNames.WaveComplete, OnWaveComplete);
//		DomainEventManager.StopGlobalListening (EventNames.StartEnemySpawning, StartSpawning);
//		DomainEventManager.StopGlobalListening (EventNames.StopEnemySpawning, StopSpawning);
    }
コード例 #12
0
    void OnDisable()
    {
        DomainEventManager.StopGlobalListening(EventNames.WaveInit, OnWaveInit);
//		DomainEventManager.StopGlobalListening (EventNames.WaveStart, OnWaveStart);
        DomainEventManager.StopGlobalListening(EventNames.PlayerDied, OnPlayerDied);
        DomainEventManager.StopGlobalListening(EventNames.PlayerWillRespawn, OnPlayerWillRespawn);
//		DomainEventManager.StopGlobalListening (EventNames.PlayerRespawned, OnPlayerRespawned);
        DomainEventManager.StopGlobalListening(EventNames.AllCrystalsCollected, OnAllCrystallsCollected);
//		DomainEventManager.StopGlobalListening (EventNames.CrystalsCollected, OnCrystalCollected);
        DomainEventManager.StopGlobalListening(EventNames.PortalReached, OnPlayerTriggerWaveExit);
//		DomainEventManager.StopGlobalListening (EventNames.WaveDestroyCurrent, OnWaveDestroyCurrent);
    }
コード例 #13
0
 // Update is called once per frame
 void OnDisable()
 {
     DomainEventManager.StopGlobalListening(EventNames.ScoredValue, onScoring);
 }
コード例 #14
0
 void OnDisable()
 {
     DomainEventManager.StopGlobalListening(EventNames.WaveInit, OnWaveInit);
     DomainEventManager.StopGlobalListening(EventNames.CrystalCollected, OnCrystalCollected);
 }
コード例 #15
0
 // Update is called once per frame
 void OnDisable()
 {
     DomainEventManager.StopGlobalListening(EventNames.WavePreInit, OnWavePreInit);
     DomainEventManager.StopGlobalListening(EventNames.WaveStart, OnWaveStart);
 }
コード例 #16
0
 void OnDisable()
 {
     DomainEventManager.StopGlobalListening(EventNames.WaveStart, OnStartWave);
 }
コード例 #17
0
 void OnDisable()
 {
     DomainEventManager.StopGlobalListening(EventNames.PlayerDied, OnPlayerDied);
     DomainEventManager.StopGlobalListening(EventNames.WaveStart, EnableCollisionDetection);
 }
コード例 #18
0
 void OnDisable()
 {
     DomainEventManager.StopGlobalListening(EventNames.OnGameOver, OnGameOver);
     DomainEventManager.StopGlobalListening(EventNames.PlayerGameOver, OnGameOver);
     DomainEventManager.StopGlobalListening(EventNames.AllWavesCompleted, OnAllWavesCompleted);
 }
コード例 #19
0
    void OnDisable()
    {
//		SmartBombManager.onSmartBombing -= SmartBombTriggered;
        DomainEventManager.StopGlobalListening(EventNames.SmartBombTriggered, SmartBombTriggered);
    }
コード例 #20
0
 void OnDisable()
 {
     DomainEventManager.StopGlobalListening(EventNames.PlayerDied, OnPlayerDied);
     DomainEventManager.StopGlobalListening(EventNames.WaveRetry, OnWaveRetry);
     DomainEventManager.StopGlobalListening(EventNames.ExtraLifeGained, OnExtraLifeGained);
 }
コード例 #21
0
 void OnDisable()
 {
     //		SmartBombManager.onSmartBombing -= SmartBombTriggered;
     DomainEventManager.StopGlobalListening(EventNames.WaveComplete, OnLevelCompleted);
 }
コード例 #22
0
 void OnDisable()
 {
     DomainEventManager.StopGlobalListening(EventNames.SmartBombAmount, UpdateUI);
     //		PlayerObjectScript.onLifeUpdate -= UpdateUI;
 }