logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityCharacterInstaller

    Unity-specific installer for the Character service. Creates a UnityCharacterService on a dedicated GameObject and auto-discovers CharacterConfigSO assets tagged with the Addressables label CHARACTER.

    Inheritance
    object
    UnityCharacterInstaller
    Implements
    IFoundationInstaller
    IInstaller
    Namespace: Serenity.Character.Installation.Installers
    Assembly: Serenity.UnityCharacter.Installation.dll
    Syntax
    public class UnityCharacterInstaller : CharacterInstaller, IFoundationInstaller, IInstaller

    Constructors

    UnityCharacterInstaller()

    Declaration
    public UnityCharacterInstaller()

    Methods

    Install(ILogService)

    Installs the Character service by creating the Unity MonoBehaviour implementation. Auto-discovers character ScriptableObjects via Addressables label CHARACTER.

    Config precedence: Inspector-assigned configs are applied first during InitializeService. If label-based discovery yields > 0 assets, they override the inspector configs via SetCharacterConfigs.

    Declaration
    public override void Install(ILogService logService)
    Parameters
    Type Name Description
    ILogService logService

    The logging service for diagnostic output.

    Implements

    IFoundationInstaller
    IInstaller
    In this article
    © 2026 Serenity. All Rights Reserved