PoolManagerBaseTManagerSettings, TPool, TPoolSettings, TSource, TInstance Methods |
[This is preliminary documentation and is subject to change.]
The PoolManagerBaseTManagerSettings, TPool, TPoolSettings, TSource, TInstance generic type exposes the following members.
Name | Description | |
---|---|---|
Acquire |
Acquires an instance of source from an attached pool.
| |
AttachPool |
Attaches the specified pool to the manager, allowing the manager to acquire and release instances from it.
| |
Awake | ||
CanAcquire |
Determines whether an instance of sourceObject can be acquired from its pool.
| |
CreatePool(TPoolSettings) |
Creates a new pool using the specified settings, and attaches it to the manager.
The pool is created on a child object of the manager's game object.
| |
CreatePool(TPoolSettings, GameObject, Boolean, String) |
Creates a new pool using the specified settings, and attaches it to the manager.
| |
DestroyPool |
Destroys the specified pool that's attached to the manager.
| |
DetachPool |
Detaches the specified pool from the manager, without destroying it.
| |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FindChildPools |
Finds all pools that are parented to the manager's game object.
| |
GetHashCode | (Inherited from Object.) | |
GetPool |
Gets the pool that handles instances of the specified source object.
The manager must contain a matching pool to use this method.
| |
GetPooledCount |
Gets the number of instances of the specified object contained in the pool.
| |
GetSourceName |
When implemented in a derived class, gets the name of the specified source.
| |
GetType | (Inherited from Object.) | |
HasPool |
Determines whether the manager has a pool that handles instances of the specified source object.
| |
InternalAcquire |
When implemented in a derived class, attempts to acquire an instance of a source according to AcquireMode.
| |
IsAttached |
Determines whether the specified pool is attached to the manager.
| |
IsPoolEmpty |
Determines whether the pool is empty for instances of the specified object.
| |
MemberwiseClone | (Inherited from Object.) | |
OnPoolAttached |
Raises the PoolAttached event.
| |
OnPoolCreated |
Raises the PoolCreated event.
| |
OnPoolDestroyed |
Raises the PoolDestroyed event.
| |
OnPoolDetached |
Raises the PoolDetached event.
| |
Release |
Releases an instance that was previously acquired from an attached pool.
| |
ReleaseInternal |
When overridden in a derived class, releases an instance that was previously acquired from an attached pool.
| |
ToString | (Inherited from Object.) | |
TryAcquire |
Acquires an instance of sourceObject from an attached pool.
| |
TryGetPool |
Gets the pool that handles instances of the specified source object.
|