![]() |
LayerProcGen v0.4.0
Layer-based infinite procedural generation
|
Inherits IPool< T >.
Public Member Functions | |
| ArrayPool (int arrayLength) | |
| T[] | Get () |
| Gets an existing object from the pool, or creates one if none are available. | |
| void | Return (ref object obj) |
| void | Return (ref T[] array) |
| void | Return (ref T obj) |
| Returns the object to the pool and sets the reference to null. | |
| override string | ToString () |
Properties | |
| int | CountActive [get] |
| int | CountAll [get] |
| int | CountInactive [get] |
| T[] Get | ( | ) |
Gets an existing object from the pool, or creates one if none are available.
Implements IPool< T >.
|
inherited |
Returns the object to the pool and sets the reference to null.
Implemented in ObjectPool< T >.
|
get |
Implements IPool.
|
get |
Implements IPool.
|
get |
Implements IPool.