public void RemoveKillEnemyListener(UnitKillEnemyListener handler) { if (!PostKillEnemy.Remove(handler)) { DebugUtils.LogError(DebugUtils.Type.AI_Soldier, "Try to remove a unregister message!"); } }
public void RegisterKillEnemyListener(UnitKillEnemyListener handler) { PostKillEnemy.Add(handler); }