![]() | PooledGameObject Class |
Namespace: RavingBots.MagicGestures.Utils.ObjectPooling
public abstract class PooledGameObject : MonoBehaviour, IPooledObject
The PooledGameObject type exposes the following members.
Name | Description | |
---|---|---|
![]() | PooledGameObject | Initializes a new instance of the PooledGameObject class |
Name | Description | |
---|---|---|
![]() | Pool |
The pool this object belongs to. Objects cannot be shared
between different pools.
|
![]() | Queued | if the object is currently
unused and waiting in the pool.
|
Name | Description | |
---|---|---|
![]() | Awake |
Reset this instance to the pristine state.
|
![]() | ResetState |
Reset this instance to the pristine state.
|
![]() | Revoke |
Reset this instance and then return it to its pool.
|