/// <summary> /// Remove a component from the manager if it exists in the master dictionary. /// </summary> public static void RemoveComponent(WaypointComponent_cl waypoint) { if (mWaypoints.Contains(waypoint)) { mWaypoints.Remove(waypoint); } }
/// <summary> /// Add a Waypoint to the master list of all components /// </summary> public static void AddWaypoint(WaypointComponent_cl newWaypoint) { mWaypoints.Add(newWaypoint); }