Ultimate Pooling Scripting Reference
| GenericPoolGroup Class |
Represents a pool groupd that can accept either a game object or component prefab as its root prefab.
Inheritance HierarchySystemObject Object
Component
Behaviour
MonoBehaviour
UltimatePoolingPoolGroup
UltimatePoolingGenericPoolGroup
UltimatePoolingResourcesPoolGroup
Component
Behaviour
MonoBehaviour
UltimatePoolingPoolGroup
UltimatePoolingGenericPoolGroup
UltimatePoolingResourcesPoolGroup
Namespace: UltimatePooling
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntaxpublic class GenericPoolGroup : PoolGroup
UltimatePooling.GenericPoolGroup = function(); Type.createClass( 'UltimatePooling.GenericPoolGroup', UltimatePooling.PoolGroup);
The GenericPoolGroup type exposes the following members.
Constructors| Name | Description | |
|---|---|---|
![]() | GenericPoolGroup | Initializes a new instance of the GenericPoolGroup class |
Methods| Name | Description | |
|---|---|---|
![]() | onInstanceDespawned |
Handle despawning of a pooled object.
By default, this method disables the game object.
(Overrides PoolGrouponInstanceDespawned(Object, PoolEventType).) |
![]() | onInstanceSpawned |
Handle the spawning of a pooled object.
By default, this method enabled the game object.
(Overrides PoolGrouponInstanceSpawned(Object, PoolEventType, Vector3, Quaternion).) |
Properties| Name | Description | |
|---|---|---|
![]() | Prefab |
Access the component or game object prefab.
(Overrides PoolGroupPrefab.) |
See Also

