logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityGameWeaponInstallationStep

    Installs the game weapon aggregate into the running composition.

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

    The event dispatcher is optional: without one the service still fires and reloads, it only stops emitting its fired and reloaded signals.

    Constructors

    UnityGameWeaponInstallationStep()

    Declaration
    public UnityGameWeaponInstallationStep()

    Methods

    Install(IUnityInstallationContext)

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

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

    The composition root this step installs into, and the source of the event dispatcher the service emits through.

    Returns
    Type Description
    UnityGameWeaponInstaller

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

    In this article
    © 2026 Serenity. All Rights Reserved