public void RemoveHurtListener(UnitHurtListener handler) { if (!PostHurt.Remove(handler)) { DebugUtils.LogError(DebugUtils.Type.AI_Soldier, "Try to remove a unregister message!"); } }
public void RegisterHurtListener(UnitHurtListener handler) { PostHurt.Add(handler); }