| GameObjectPoolT Constructor (T, Boolean) |
Creates a new GameObject pool for the specified prefab.
Namespace:
Archon.SwissArmyLib.Pooling
Assembly:
Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public GameObjectPool(
T prefab,
bool multiScene
)
Request Example
View SourceParameters
- prefab
- Type: T
The prefab used for instantiating instances. - multiScene
- Type: SystemBoolean
Should the pool and its contents survive a scene change?
See Also