Click or drag to resize

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.

Methods
  NameDescription
Public methodAcquire
Acquires an instance of source from an attached pool.
Public methodAttachPool
Attaches the specified pool to the manager, allowing the manager to acquire and release instances from it.
Protected methodAwake
Public methodCanAcquire
Determines whether an instance of sourceObject can be acquired from its pool.
Public methodCreatePool(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.
Public methodCreatePool(TPoolSettings, GameObject, Boolean, String)
Creates a new pool using the specified settings, and attaches it to the manager.
Public methodDestroyPool
Destroys the specified pool that's attached to the manager.
Public methodDetachPool
Detaches the specified pool from the manager, without destroying it.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFindChildPools
Finds all pools that are parented to the manager's game object.
Public methodGetHashCode (Inherited from Object.)
Public methodGetPool
Gets the pool that handles instances of the specified source object. The manager must contain a matching pool to use this method.
Public methodGetPooledCount
Gets the number of instances of the specified object contained in the pool.
Protected methodGetSourceName
When implemented in a derived class, gets the name of the specified source.
Public methodGetType (Inherited from Object.)
Public methodHasPool
Determines whether the manager has a pool that handles instances of the specified source object.
Protected methodInternalAcquire
When implemented in a derived class, attempts to acquire an instance of a source according to AcquireMode.
Public methodIsAttached
Determines whether the specified pool is attached to the manager.
Public methodIsPoolEmpty
Determines whether the pool is empty for instances of the specified object.
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnPoolAttached
Raises the PoolAttached event.
Protected methodOnPoolCreated
Raises the PoolCreated event.
Protected methodOnPoolDestroyed
Raises the PoolDestroyed event.
Protected methodOnPoolDetached
Raises the PoolDetached event.
Public methodRelease
Releases an instance that was previously acquired from an attached pool.
Protected methodReleaseInternal
When overridden in a derived class, releases an instance that was previously acquired from an attached pool.
Public methodToString (Inherited from Object.)
Public methodTryAcquire
Acquires an instance of sourceObject from an attached pool.
Public methodTryGetPool
Gets the pool that handles instances of the specified source object.
Top
See Also