logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityLocalizationInstallationStep

    Installs the localization aggregate into the running composition. In Addressables-using modes this wires up the full Unity Localization stack (locale registry, string and asset tables) through UnityLocalizationInstaller. In ResourcesOnly mode Unity Localization is bypassed entirely — reading its LocalizationSettings.AvailableLocales triggers an Addressables WaitForCompletion that crashes on WebGL — and a SerenityFallbackLocalizationService is registered instead.

    Inheritance
    object
    UnityLocalizationInstallationStep
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Localization.Installation.Installers
    Assembly: Serenity.UnityLocalization.Installation.dll
    Syntax
    public class UnityLocalizationInstallationStep

    Constructors

    UnityLocalizationInstallationStep()

    Declaration
    public UnityLocalizationInstallationStep()

    Methods

    Install(IUnityInstallationContext)

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

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

    The composition root this step installs into.

    Returns
    Type Description
    UnityLocalizationInstaller

    The installer, or null in ResourcesOnly mode where the fallback service replaces it.

    In this article
    © 2026 Serenity. All Rights Reserved