A helper class that stores and offers methods for its list of generic ComponentTypes and emits events if the Destinations list was modified using methods of this class
More...
|
virtual bool | AddToDestinations (ComponentType comp, bool addDistinct=false) |
| Adds the given type only if it is not null and either if no duplicate is found or if addDistinct is false. Emits the OnDestinationAddedUnityEvent and OnDestinationAdded events on success. More...
|
|
virtual void | AddMultipleToDestinations (List< ComponentType > componentTypes, bool addDistinct=false) |
| A helper method to add multiple ComponentTypes to the Destinations list, also emitting the OnDestinationAddedUnityEvent and OnDestinationAdded events. More...
|
|
virtual void | RemoveAllFromDestinations () |
| Removes all items from the Destinations list and emits the OnDestinationRemovedUnityEvent and OnDestinationRemoved events.
|
|
virtual bool | RemoveFromDestinations (ComponentType comp) |
| Removes the given type and emits the OnDestinationRemovedUnityEvent and OnDestinationRemoved events on success. More...
|
|
virtual bool | RemoveFromDestinationsAt (int index) |
| Remove and emit events at index More...
|
|
virtual List< ComponentType > | GetDestinationsWithExcluded (List< ComponentType > excludeDestinations, bool removeFoundDoubleFromExclusiveList) |
|
A helper class that stores and offers methods for its list of generic ComponentTypes and emits events if the Destinations list was modified using methods of this class
- Template Parameters
-
ComponentType | The type stored in the Destinations list. |