Пример #1
0
 void UnregisterEventCallbacks()
 {
     DeathEventInfo.UnregisterListener(OnUnitDied);
     HPChangedEventInfo.UnregisterListener(OnHPChange);
     MPChangedEventInfo.UnregisterListener(OnMPChange);
     UnitSpawnEventInfo.UnregisterListener(OnUnitSpawn);
     CharacterTurnOverEventInfo.UnregisterListener(OnTurnOver);
 }
Пример #2
0
        public void UnregisterEventCallbacks()
        {
            SelectedObjectEventInfo.UnregisterListener(OnHighlightSelected);
            CharacterReadyEventInfo.UnregisterListener(OnCharacterReady);

            BattleWonEventInfo.UnregisterListener(OnBattleWon);
            HPChangedEventInfo.UnregisterListener(OnHPChange);
            MPChangedEventInfo.UnregisterListener(OnMPChange);
            HeroDeathEventInfo.UnregisterListener(OnHeroDeath);
            DeathEventInfo.UnregisterListener(OnUnitDied);
            UnitSpawnEventInfo.UnregisterListener(OnUnitSpawn);
        }
 public void UnregisterEventCallbacks()
 {
     UnitSpawnEventInfo.UnregisterListener(OnUnitSpawn);
     DeathEventInfo.UnregisterListener(OnUnitDied);
 }