GameObjectPoolSettings Class |
[This is preliminary documentation and is subject to change.]
Namespace: Umbrace.Unity.PurePool
[SerializableAttribute] public class GameObjectPoolSettings : SharedPoolSettings<GameObject>, IGameObjectPoolSettings, ISharedPoolSettings<GameObject>, ISharedPoolSettings
The GameObjectPoolSettings type exposes the following members.
Name | Description | |
---|---|---|
![]() | GameObjectPoolSettings() |
Initialises a new instance of the GameObjectPoolSettings class.
|
![]() | GameObjectPoolSettings(GameObjectPoolSettings) |
Initialises a new instance of the GameObjectPoolSettings class, using the specified settings.
|
Name | Description | |
---|---|---|
![]() ![]() | DefaultSettings |
Gets the default settings.
|
![]() | DontDestroyOnLoad |
Gets or sets a value indicating whether the pool should persist between scene changes.
(Inherited from SharedPoolSettings<TSource>.) |
![]() | Enabled |
Gets or sets a value indicating whether pooling is enabled.
(Inherited from SharedPoolSettings<TSource>.) |
![]() | Frozen |
Gets a value indicating whether the object has been frozen, and cannot be modified.
(Inherited from SharedPoolSettings<TSource>.) |
![]() | InitialiseOnStart |
Gets or sets a value indicating whether to initialise the pool in the MonoBehaviour Start method.
(Inherited from SharedPoolSettings<TSource>.) |
![]() | InitialSize |
Gets or sets the initial size of the pool.
(Inherited from SharedPoolSettings<TSource>.) |
![]() | 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 SharedPoolSettings<TSource>.) |
![]() | LogMessages |
Gets or sets the level of log messaging that the pool will output.
(Inherited from SharedPoolSettings<TSource>.) |
![]() | MaximumSize |
Gets or sets the maximum size of the pool, which is the maximum number of objects it can contain.
(Inherited from SharedPoolSettings<TSource>.) |
![]() | NotificationMode |
Gets or sets the modes in which pooled objects are notified of their acquisition from, and release to, the pool.
(Inherited from SharedPoolSettings<TSource>.) |
![]() | RecordStatistics |
Gets or sets a value indicating whether to record pool statistics.
(Inherited from SharedPoolSettings<TSource>.) |
![]() | 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 SharedPoolSettings<TSource>.) |
![]() | Source |
Gets or sets the game object that the pool will be used for.
(Overrides SharedPoolSettings<TSource>.Source.) |
![]() | 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 SharedPoolSettings<TSource>.) |
Name | Description | |
---|---|---|
![]() | EnsureNotFrozen |
Ensures the SharedPoolSettings< TSource> has not been frozen, and throws an exception if it has.
(Inherited from SharedPoolSettings<TSource>.) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | Freeze |
Freezes the object and prevents modifications being made to it.
(Inherited from SharedPoolSettings<TSource>.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |