UltimatePooling Namespace

Ultimate Pooling

UltimatePooling Namespace
 
Classes
  Class Description
Public class GenericPoolGroup
Represents a pool groupd that can accept either a game object or component prefab as its root prefab.
Public class PoolBehaviour
Intermediate behaviour script that allows spawn and despawn events to be received. The events are broadcast to the object that is being re-used so the script can be at any level on the objects hierarchy.
Public class PoolGroup
Represents a spawn pool for a specfific type of prefab. Valid types are game objects and components.
Public class PoolManager
The manager that is responsible for all pool groups and handles the creation and destruction of pools at runtime.
Public class ResourcesPoolGroup
Represents a pool group that manages a prefab object located within the resources folder.
Public class UltimatePool
The main class or interacting with the UltimatePooling API. All spawning and despawning methods are found in this class however you can use the individual spawn method on pools if required.
Interfaces
  Interface Description
Public interface IPoolReceiver
Implement this interface when you want to receive spawned and despawned events sent to the pooled object. This interface will typically be implemented by a mono behaviour script that is attached to a pooled object which will then receive the appropriate event when it is spawned or despawned. Alternativley you can inherit from PoolBehaviour which provides default overridable behaviour for these events. (Modifies the objects enabled state to show or hide the object).
Enumerations
  Enumeration Description
Public enumeration LogLevel
The amount of detail to include in logged messages.
Public enumeration PoolEventType
The method that is used to inform pooled objects about their current spawn state.