 | GameObjectPoolT Constructor |
Create a new pool with the given prefab and initial size.
Namespace:
RavingBots.MagicGestures.Utils.ObjectPooling
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntaxpublic GameObjectPool(
T prefab,
int precache = 0
)
Parameters
- prefab
- Type: T
- precache (Optional)
- Type: SystemInt32
See Also