Summary
Returns a spare
System.Collections.Generic.HashSet`1
if there are any, or creates a new one.- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- SetPool
Syntax
public static HashSet<T> Acquire<T>()
Remarks
Remember to
Animancer.SetPool.Release``1(System.Collections.Generic.HashSet{``0})
it when you are done.Type Parameters
Name | Description |
---|---|
T |
Return Value
Type | Description |
---|---|
HashSet |