• Hello
Search Results for

    Show / Hide Table of Contents

    Class GlobalPool

    Manages a global pool of GameObjects to optimize object reuse across the entire application.

    Inheritance
    System.Object
    AGamePool<GlobalPool>
    GlobalPool
    Implements
    IPool
    Inherited Members
    AGamePool<GlobalPool>.StartupBlueprints
    AGamePool<GlobalPool>.Strategy
    AGamePool<GlobalPool>.Capacity
    AGamePool<GlobalPool>.Count
    AGamePool<GlobalPool>.Awake()
    AGamePool<GlobalPool>.HasBlueprint(String)
    AGamePool<GlobalPool>.Register(BlueprintPoolDefinition)
    AGamePool<GlobalPool>.Register(String, GameObject, EPoolingStrategy, Int32)
    AGamePool<GlobalPool>.Spawn()
    AGamePool<GlobalPool>.Spawn(Vector3, Quaternion)
    AGamePool<GlobalPool>.Spawn(SpawnPolicy)
    AGamePool<GlobalPool>.SpawnMany(Int32)
    AGamePool<GlobalPool>.SpawnMany(Int32, SpawnPolicy)
    AGamePool<GlobalPool>.Spawn(IDecorator)
    AGamePool<GlobalPool>.Spawn(IDecorator, Vector3, Quaternion)
    AGamePool<GlobalPool>.Spawn(IDecorator, SpawnPolicy)
    AGamePool<GlobalPool>.SpawnMany(IDecorator, Int32)
    AGamePool<GlobalPool>.SpawnMany(IDecorator, Int32, SpawnPolicy)
    AGamePool<GlobalPool>.Spawn(String)
    AGamePool<GlobalPool>.Spawn(String, Vector3, Quaternion)
    AGamePool<GlobalPool>.Spawn(String, SpawnPolicy)
    AGamePool<GlobalPool>.Spawn(String, IDecorator)
    AGamePool<GlobalPool>.Spawn(String, IDecorator, Vector3, Quaternion)
    AGamePool<GlobalPool>.Spawn(String, IDecorator, SpawnPolicy)
    AGamePool<GlobalPool>.SpawnMany(String, Int32)
    AGamePool<GlobalPool>.SpawnMany(String, Int32, SpawnPolicy)
    AGamePool<GlobalPool>.SpawnMany(String, IDecorator, Int32)
    AGamePool<GlobalPool>.SpawnMany(String, IDecorator, Int32, SpawnPolicy)
    AGamePool<GlobalPool>.Despawn(GameObject)
    AGamePool<GlobalPool>.Despawn(GameObject, IUnDecorator)
    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

    Implements

    IPool
    In This Article
    Back to top GuardingPearSoftware documentation