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 "type:character".
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 "type: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. |