logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityCharacterInstallationStep

    Installs the character aggregate into the running composition: the character service and the spawn service every character is instantiated and pooled through.

    Inheritance
    object
    UnityCharacterInstallationStep
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Character.Installation.Installers
    Assembly: Serenity.UnityCharacter.Installation.dll
    Syntax
    public class UnityCharacterInstallationStep
    Remarks

    Both services come from this one step because both are built from the same archetype discovery. Splitting them would load the labelled character configs twice and let the two services disagree about which archetypes exist.

    Constructors

    UnityCharacterInstallationStep()

    Declaration
    public UnityCharacterInstallationStep()

    Methods

    Install(IUnityInstallationContext)

    Builds the aggregate's installer, installs it and publishes its services.

    Declaration
    public UnityCharacterInstaller Install(IUnityInstallationContext installationContext)
    Parameters
    Type Name Description
    IUnityInstallationContext installationContext

    The composition root this step installs into.

    Returns
    Type Description
    UnityCharacterInstaller

    The installer, so the composition root can keep its own reference to it.

    In this article
    © 2026 Serenity. All Rights Reserved