logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class InstanceRequestingCharacterPool

    A pool subclass that asks for an instance directly, the way a project's own pool can through the protected extension point, without going through Spawn(string, float, float, float, float, float, float, float)'s gates.

    Inheritance
    object
    InstanceRequestingCharacterPool
    Namespace: Serenity.UnityCharacter.Tests.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class InstanceRequestingCharacterPool : UnityCharacterPoolService

    Constructors

    InstanceRequestingCharacterPool()

    Declaration
    public InstanceRequestingCharacterPool()

    Methods

    RequestInstance(ICharacterConfig)

    Requests an instance of archetype and reports whether the pool produced one.

    Declaration
    public bool RequestInstance(ICharacterConfig archetype)
    Parameters
    Type Name Description
    ICharacterConfig archetype
    Returns
    Type Description
    bool
    In this article
    © 2026 Serenity. All Rights Reserved