Class GlobalPool
Manages a global pool of GameObjects to optimize object reuse across the entire application.
Implements
Inherited Members
Namespace: GUPS.EasyPooling
Assembly: cs.temp.dll.dll
Syntax
public class GlobalPool : AGamePool<GlobalPool>, IPool
Remarks
The GlobalPool class extends the functionality of the AGamePool<T> base class and serves as a centralized manager for GameObjects, providing an efficient mechanism for object reuse throughout the entire application lifecycle. It implements a global pool that enables the recycling of GameObject instances, minimizing the overhead associated with constant object creation and destruction.
Global pools are designed to be persistent across the whole application, making them suitable for scenarios where certain GameObjects need to be reused consistently across different scenes and states of the application.
Properties
IsPersistent
The Global Pool is persistent across the whole application.
Declaration
public override bool IsPersistent { get; }
Property Value
Type | Description |
---|---|
System.Boolean |