logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Delegate UnityCharacterPoolService.RebindDelegate

    Delegate that rebinds a pooled character GameObject with a fresh ViewModel. Called when reusing an inactive pooled instance.

    Namespace: Serenity.Character.Infrastructure.Services
    Assembly: Serenity.UnityCharacter.Infrastructure.dll
    Syntax
    public delegate bool UnityCharacterPoolService.RebindDelegate(GameObject go, ICharacterConfig config)
    Parameters
    Type Name Description
    GameObject go

    The pooled character GameObject.

    ICharacterConfig config

    The Application archetype config for this character.

    Returns
    Type Description
    bool

    True if rebinding succeeded.

    Constructors

    RebindDelegate(object, IntPtr)

    Declaration
    public RebindDelegate(object @object, IntPtr method)
    Parameters
    Type Name Description
    object object
    IntPtr method

    Methods

    BeginInvoke(GameObject, ICharacterConfig, AsyncCallback, object)

    Declaration
    public virtual IAsyncResult BeginInvoke(GameObject go, ICharacterConfig config, AsyncCallback callback, object @object)
    Parameters
    Type Name Description
    GameObject go
    ICharacterConfig config
    AsyncCallback callback
    object object
    Returns
    Type Description
    IAsyncResult

    EndInvoke(IAsyncResult)

    Declaration
    public virtual bool EndInvoke(IAsyncResult result)
    Parameters
    Type Name Description
    IAsyncResult result
    Returns
    Type Description
    bool

    Invoke(GameObject, ICharacterConfig)

    Declaration
    public virtual bool Invoke(GameObject go, ICharacterConfig config)
    Parameters
    Type Name Description
    GameObject go
    ICharacterConfig config
    Returns
    Type Description
    bool
    In this article
    © 2026 Serenity. All Rights Reserved