Vector2Set
Derives from RuntimeSet<T>
.
Description
Represents a set of Vector2
values that can be shared and modified throughout the application.
Public Methods
Add(Vector2Int)
- Adds aVector2Int
value to the set.TryAdd(Vector2Int) : bool
- Attempts to add aVector2Int
value to the set. Returns whether an item was added.Remove(Vector2Int) : bool
- Removes aVector2Int
value from the set. Returns whether an item was removed.