SerialisableGenericComponentPoolT Methods |
[This is preliminary documentation and is subject to change.]
The SerialisableGenericComponentPoolT generic type exposes the following members.
| Name | Description | |
|---|---|---|
| Acquire |
Acquires an object from the pool.
(Inherited from SerialisableObjectPoolT.) | |
| Acquire(Transform) |
Acquires an instance of the component, and sets the parent transform of its GameObject.
| |
| Acquire(Vector3, Quaternion) |
Acquires an instance of the component, and sets the position and rotation of its GameObject.
| |
| Acquire(Transform, Vector3, Quaternion) |
Acquires an instance of the component, and sets the parent transform, position and rotation of its GameObject.
| |
| Clear |
Clears the pool, emptying it of all pooled objects.
(Inherited from SerialisableObjectPoolT.) | |
| Contains |
Determines whether an instance is in the pool.
(Inherited from SerialisableObjectPoolT.) | |
| Equals | (Inherited from Object.) | |
| Fill |
Fills the pool, populating it with pooled objects until it reaches the maximum pool size.
(Inherited from SerialisableObjectPoolT.) | |
| Finalize | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetItems |
Gets a list of items currently contained by the pool, and stores them in the specified ListT.
(Inherited from SerialisableObjectPoolT.) | |
| GetObjectFactory |
Gets a function used to create new instances of the pooled type.
By default, this method uses the public parameterless constructor of type T.
This method should be overridden in a subclass if different behaviour is required.
(Overrides SerialisableObjectPoolTGetObjectFactory.) | |
| GetType | (Inherited from Object.) | |
| Initialise |
Initialises the pool, populating it with objects and making it ready for use.
(Inherited from SerialisableObjectPoolT.) | |
| Initialise(Boolean) |
Initialises the pool, making it ready for use, and optionally populating it with objects.
(Inherited from SerialisableObjectPoolT.) | |
| MemberwiseClone | (Inherited from Object.) | |
| OnAfterDeserialize |
Performs actions after the object has been deserialised.
(Overrides SerialisableObjectPoolTOnAfterDeserialize.) | |
| OnBeforeSerialize |
Performs actions prior to the object being serialised.
(Overrides SerialisableObjectPoolTOnBeforeSerialize.) | |
| OnCanAcquireChanged |
Raises the CanAcquireChanged event.
(Inherited from SerialisableObjectPoolT.) | |
| OnCountChanged |
Raises the CountChanged event.
(Inherited from SerialisableObjectPoolT.) | |
| OnInitialised |
Raises the Initialised event.
(Inherited from SerialisableObjectPoolT.) | |
| OnObjectAcquired |
Raises the ObjectAcquired event.
(Overrides SerialisableObjectPoolTOnObjectAcquired(T, Boolean).) | |
| OnObjectDestroyed |
Raises the ObjectDestroyed event.
(Overrides SerialisableObjectPoolTOnObjectDestroyed(T).) | |
| OnObjectInstantiated |
Raises the ObjectInstantiated event.
(Inherited from SerialisableObjectPoolT.) | |
| OnObjectReleased |
Raises the ObjectReleased event.
(Overrides SerialisableObjectPoolTOnObjectReleased(T, Boolean).) | |
| Release |
Releases an object back to the pool.
(Inherited from SerialisableObjectPoolT.) | |
| ReleaseInternal |
Releases an object back to the pool.
(Overrides SerialisableObjectPoolTReleaseInternal(T).) | |
| Remove |
Removes the specified instance from the pool.
(Inherited from SerialisableObjectPoolT.) | |
| SetSize |
Sets the number of objects contained by the pool, either destroying excess pooled objects, or instantiating new ones.
(Inherited from SerialisableObjectPoolT.) | |
| ToString | (Inherited from Object.) | |
| TryAcquire(T) |
Acquires an object from the pool.
(Inherited from SerialisableObjectPoolT.) | |
| TryAcquire(Transform, T) |
Acquires an instance of the component, and sets the parent transform of its GameObject.
| |
| TryAcquire(Vector3, Quaternion, T) |
Acquires an instance of the component, and sets the position and rotation of its GameObject.
| |
| TryAcquire(Transform, Vector3, Quaternion, T) |
Acquires an instance of the component, and sets the parent transform, position and rotation of its GameObject.
|