Namespace: (Default Namespace)
public class PoolableObject : MonoBehaviour
Thetype exposes the following members.
Moves all poolable objects of this kind (instantiated from the same prefab as this instance) back to the pool.
Retrieves an array of all poolable objects of this kind (instantiated from the same prefab as this instance).
Gets the object's pool serial number. Each object has a unique serial number. Can be useful for debugging purposes.
Gets the usage counter which gets increased each time an object is re-used from the pool.
Checks if the object is deactivated and in the pool.
If enabled the object will not get destroyed if a new scene is loaded
The maximum number of instances of this prefab to get stored in the pool.
This number of instances will be preloaded to the pool if Preload(GameObject) is called.
If enabled a OnPoolableObjectActivated and OnPoolableObjectDeactivated message is sent to the poolable instance if the object is activated respectively deactivated by the ObjectPoolController