RuntimeSet<T>
Class in Zigurous.Architecture
Declaration
public abstract class RuntimeSet<T> : ScriptableObject
Description
A ScriptableObject that stores a list of items. A project asset can be created for the runtime set so it can be referenced throughout the application, but the items are added and removed at runtime.
Type Parameters
T | The type of items to store. |
Properties
items | The list of stored items in the set (Read only). |
Count | The number of items in the set (Read only). |
Methods
Add | Adds an item to the set if it is not already contained in the set. |
Remove | Removes an item from the set if it is contained in the set. |
Clear | Removes all items from the set. |
Contains | Checks if the given item is contained in the set. |