public void RemoveHealthChangeListener(UnitHealthChangeListener handler) { if (!PostHealthChange.Remove(handler)) { DebugUtils.LogError(DebugUtils.Type.AI_Soldier, "Try to remove a unregister message!"); } }
public void RegisterHealthChangeListener(UnitHealthChangeListener handler) { PostHealthChange.Add(handler); }