GenericPoolGroup Class

Ultimate Pooling

GenericPoolGroup Class
Represents a pool groupd that can accept either a game object or component prefab as its root prefab.
Inheritance Hierarchy
SystemObject  Object
    Component
      Behaviour
        MonoBehaviour
          UltimatePoolingPoolGroup
            UltimatePoolingGenericPoolGroup
              UltimatePoolingResourcesPoolGroup

Namespace: UltimatePooling
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public class GenericPoolGroup : PoolGroup
UltimatePooling.GenericPoolGroup = function();

Type.createClass(
	'UltimatePooling.GenericPoolGroup',
	UltimatePooling.PoolGroup);

The GenericPoolGroup type exposes the following members.

Constructors
  NameDescription
Public methodGenericPoolGroup
Initializes a new instance of the GenericPoolGroup class
Top
Methods
  NameDescription
Protected methodonInstanceDespawned
Handle despawning of a pooled object. By default, this method disables the game object.
(Overrides PoolGrouponInstanceDespawned(Object, PoolEventType).)
Protected methodonInstanceSpawned
Handle the spawning of a pooled object. By default, this method enabled the game object.
(Overrides PoolGrouponInstanceSpawned(Object, PoolEventType, Vector3, Quaternion).)
Top
Properties
  NameDescription
Public propertyPrefab
Access the component or game object prefab.
(Overrides PoolGroupPrefab.)
Top
See Also