logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Menu.Infrastructure.Cascade.View

    Classes

    UnityCascadeMenuView

    Runtime view that hosts a CascadeMenuRenderer and is resolvable by Id from a menu transition (registered with the IViewRouter via the cascade view service). On Show() it builds a fresh CascadeMenuModel from the definition's root node through a DefaultCascadeMenuContext, binds the renderer, and polls input each frame in Serenity.Menu.Infrastructure.Cascade.View.UnityCascadeMenuView.Update. Cancelling at the base page, or resolving a leaf, returns to the configured opener view through the router.

    UnityCascadePanel

    Script on a theme's cascade-panel prefab (CascadeViewTemplate): one navigable column/level of a cascade menu. The prefab authors the themed look (background, padding, fonts) and exposes a header slot and an options container; the cascade renderer fills the container with the theme's submittable option components and drives focus through each component's native highlight. Resizing/scrolling mirrors UnityModalComponent: the options grow with the list and scroll once they exceed a visible count.

    UnityCascadeViewFactory

    Builds a UnityCascadeMenuView for a UnityCascadeViewDefinition under the UI canvas: a full-stretch RectTransform GameObject carrying the view component, configured with the definition and the services it needs. The view's UI (renderer + Serenity components) is created lazily on first show.

    In this article
    © 2026 Serenity. All Rights Reserved