void UnregisterEventCallbacks() { DeathEventInfo.UnregisterListener(OnUnitDied); HPChangedEventInfo.UnregisterListener(OnHPChange); MPChangedEventInfo.UnregisterListener(OnMPChange); UnitSpawnEventInfo.UnregisterListener(OnUnitSpawn); CharacterTurnOverEventInfo.UnregisterListener(OnTurnOver); }
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); }