logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityCompositeViewInstallerInput

    Dependencies required to build and register composite views at startup. Mirrors the inputs the menu installer receives; the key extra is ResolveHostedView, which lets a composite build owned hosted instances (typically menus) without this module depending on the menu module.

    Inheritance
    object
    UnityCompositeViewInstallerInput
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Ui.Infrastructure.Installation
    Assembly: Serenity.UnityUi.Infrastructure.dll
    Syntax
    public class UnityCompositeViewInstallerInput

    Constructors

    UnityCompositeViewInstallerInput()

    Declaration
    public UnityCompositeViewInstallerInput()

    Fields

    Canvas

    The Unity Canvas (as object) under which composite roots are created.

    Declaration
    public object Canvas
    Field Value
    Type Description
    object

    EventDispatcherService

    Event dispatcher used to receive child-activation signals from navigation rails.

    Declaration
    public IEventDispatcherService EventDispatcherService
    Field Value
    Type Description
    IEventDispatcherService

    InitViewId

    Optional id of a composite to show once everything is built. Null/empty shows nothing.

    Declaration
    public string InitViewId
    Field Value
    Type Description
    string

    LogService

    Logging service.

    Declaration
    public ILogService LogService
    Field Value
    Type Description
    ILogService

    ResolveHostedView

    Builds an owned hosted instance of a leaf view (e.g. a menu) for a composite child slot, given the view's definition id and the composite host path (the "/"-joined chain of composite definition ids from the registered root to the slot's parent). The host path makes each instance's routing id unique, so the same definition can be hosted in several slots. Typically backed by the menu service's owned-instance factory. May return null for unknown ids.

    Declaration
    public Func<string, string, IViewBase> ResolveHostedView
    Field Value
    Type Description
    Func<string, string, IViewBase>

    ServiceId

    Id assigned to the created UnityCompositeViewService.

    Declaration
    public string ServiceId
    Field Value
    Type Description
    string
    In this article
    © 2026 Serenity. All Rights Reserved