PoolableObjectT Class |
[This is preliminary documentation and is subject to change.]
Namespace: Umbrace.Unity.PurePool
public abstract class PoolableObject<T> : MonoBehaviour, ISerializationCallbackReceiver
The PoolableObjectT type exposes the following members.
Name | Description | |
---|---|---|
![]() | PoolableObjectT | Initializes a new instance of the PoolableObjectT class |
Name | Description | |
---|---|---|
![]() | CachePoolableComponents |
Gets or sets a value indicating whether to cache the components found on this GameObject that implement IPoolable.
|
![]() | IsInPool |
Gets a value indicating whether the pooled object is currently unacquired and contained by the object pool.
|
![]() | NotificationMode |
Gets or sets the way in which pooled objects are notified about being acquired from, and returned to, the pool.
|
![]() | SourceObject |
Gets the source object that this pooled object is a clone of.
|
Name | Description | |
---|---|---|
![]() | AddToCache(Component) |
Adds a poolable component to the cache.
|
![]() | AddToCache(IPoolable) |
Adds a poolable component to the cache.
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | OnAcquire |
Informs all poolable components that the object has been acquired from the pool.
|
![]() | OnRelease |
Informs all poolable components that the object has been released back to the pool.
|
![]() | RefreshCache |
Refreshes the cache of poolable components.
|
![]() | RemoveFromCache(Component) |
Removes a poolable component from the cache.
|
![]() | RemoveFromCache(IPoolable) |
Removes a poolable component from the cache.
|
![]() | ToString | (Inherited from Object.) |