Ultimate Pooling Scripting Reference
GenericPoolGroup Class |
Represents a pool groupd that can accept either a game object or component prefab as its root prefab.

SystemObject 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

public class GenericPoolGroup : PoolGroup
UltimatePooling.GenericPoolGroup = function(); Type.createClass( 'UltimatePooling.GenericPoolGroup', UltimatePooling.PoolGroup);
The GenericPoolGroup type exposes the following members.

Name | Description | |
---|---|---|
![]() | GenericPoolGroup | Initializes a new instance of the GenericPoolGroup class |

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).) |

Name | Description | |
---|---|---|
![]() | Prefab |
Access the component or game object prefab.
(Overrides PoolGroupPrefab.) |
