IComponentPoolSettings Properties |
[This is preliminary documentation and is subject to change.]
The IComponentPoolSettings type exposes the following members.
Name | Description | |
---|---|---|
AdditionalComponentTypes |
Gets a collection of additional component types that should exist on the pooled object.
| |
DontDestroyOnLoad |
Gets or sets a value indicating whether the pool should persist between scene changes.
(Inherited from ISharedPoolSettings.) | |
Enabled |
Gets or sets a value indicating whether pooling is enabled.
(Inherited from ISharedPoolSettings.) | |
InitialiseOnStart |
Gets or sets a value indicating whether to initialise the pool in the MonoBehaviour Start method.
(Inherited from ISharedPoolSettings.) | |
InitialSize |
Gets or sets the initial size of the pool.
(Inherited from ISharedPoolSettings.) | |
InstantiateWhenEmpty |
Gets or sets a value indicating whether to instantiate a new object when the pool is empty, and an attempt is made to acquire from the pool.
(Inherited from ISharedPoolSettings.) | |
LogMessages |
Gets or sets the level of log messaging that the pool will output.
(Inherited from ISharedPoolSettings.) | |
MaximumSize |
Gets or sets the maximum size of the pool, which is the maximum number of objects it can contain.
(Inherited from ISharedPoolSettings.) | |
NotificationMode |
Gets or sets the modes in which pooled objects are notified of their acquisition from, and release to, the pool.
(Inherited from ISharedPoolSettings.) | |
RecordStatistics |
Gets or sets a value indicating whether to record pool statistics.
(Inherited from ISharedPoolSettings.) | |
ReparentPooledObjects |
Gets or sets a value indicating whether to re-parent the pooled objects to the pool's transform, after the objects are released.
(Inherited from ISharedPoolSettings.) | |
Source |
Gets or sets the source object that will be pooled.
(Inherited from ISharedPoolSettingsTSource.) | |
WarnOnDestroy |
Gets or sets a value indicating whether to log a warning message when a poolable object is destroyed (either inside of the pool, or while in use).
(Inherited from ISharedPoolSettings.) |