public void RemoveMoveDistanceListener(UnitMoveDistanceListener handler) { if (!PostMoveDistanceChange.Remove(handler)) { DebugUtils.LogError(DebugUtils.Type.AI_Soldier, "Try to remove a unregister message!"); } }
public void RegisterMoveDistanceListener(UnitMoveDistanceListener handler) { PostMoveDistanceChange.Add(handler); }