logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityCascadeViewInstaller

    Builds every authored cascade view (UnityCascadeViewDefinition) at startup and registers it with a UnityCascadeViewService. Cascade view assets share the MENU Addressables label (auto-applied to every Serenity.Menu.* ScriptableObject), and the typed load filters them from the menu definitions. Built views start hidden until shown through the IViewRouter. Mirrors UnityCompositeViewInstaller.

    Inheritance
    object
    UnityCascadeViewInstaller
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Menu.Infrastructure.Cascade.Installation
    Assembly: Serenity.UnityMenu.Infrastructure.dll
    Syntax
    public sealed class UnityCascadeViewInstaller

    Constructors

    UnityCascadeViewInstaller()

    Declaration
    public UnityCascadeViewInstaller()

    Properties

    Service

    The registry created by Install(UnityCascadeViewInstallerInput); null until then.

    Declaration
    public IViewProvider Service { get; }
    Property Value
    Type Description
    IViewProvider

    Methods

    GetService()

    The created service, for host registration with the service locator and the router.

    Declaration
    public UnityCascadeViewService GetService()
    Returns
    Type Description
    UnityCascadeViewService

    The cascade view service.

    Install(UnityCascadeViewInstallerInput)

    Builds and registers all cascade views (hidden) from their definitions.

    Declaration
    public void Install(UnityCascadeViewInstallerInput input)
    Parameters
    Type Name Description
    UnityCascadeViewInstallerInput input

    Startup dependencies (canvas, event dispatcher, router, log).

    In this article
    © 2026 Serenity. All Rights Reserved