IPoolReceiver Methods

Ultimate Pooling

IPoolReceiver Methods

The IPoolReceiver type exposes the following members.

Methods
  Name Description
Public method OnDespawned
Called when an object is about to be returned to the pool. Note that this method will not be called when the object is destroyed.
Public method OnSpawned
Called when an object has been spawned from the pool. This event allows the state of the object to be reset so it can be treaded as a newly created object. Note that this method will not be called when the object is first created.
Top
See Also