Ultimate Pooling Scripting Reference
UltimatePooling Namespace |
Classes
Class | Description | |
---|---|---|
GenericPoolGroup |
Represents a pool groupd that can accept either a game object or component prefab as its root prefab.
|
|
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.
|
|
PoolGroup |
Represents a spawn pool for a specfific type of prefab.
Valid types are game objects and components.
|
|
PoolManager |
The manager that is responsible for all pool groups and handles the creation and destruction of pools at runtime.
|
|
ResourcesPoolGroup |
Represents a pool group that manages a prefab object located within the resources folder.
|
|
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 | |
---|---|---|
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 | |
---|---|---|
LogLevel |
The amount of detail to include in logged messages.
|
|
PoolEventType |
The method that is used to inform pooled objects about their current spawn state.
|