logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class MenuReachabilityWalker

    Breadth-first walk of every view reachable from a root view id, following each menu's TRANSITION options and every other view kind's own declared edges (a cascade's, a leaderboard's or an achievements view's return target; a leaderboard's SHOW_VIEW button targets). Engine-agnostic: it reads only IMenuNavigationLookup and the plain IMenuSettingsDefinition/ UiOption values, so the same walk can back the Menu Manager's auto-load and run in a pure unit test.

    Inheritance
    object
    MenuReachabilityWalker
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Menu.Application.Navigation
    Assembly: Serenity.Menu.Application.dll
    Syntax
    public static class MenuReachabilityWalker

    Methods

    WalkFrom(string, IMenuNavigationLookup)

    Walks every view reachable from rootViewId.

    Declaration
    public static MenuNavigationGraph WalkFrom(string rootViewId, IMenuNavigationLookup lookup)
    Parameters
    Type Name Description
    string rootViewId

    The view id to start the walk from (typically UnityUiSettings.InitialViewId).

    IMenuNavigationLookup lookup

    Resolves a view id into a menu, a known non-menu view, or neither.

    Returns
    Type Description
    MenuNavigationGraph

    Every view and unresolved target reachable from the root.

    In this article
    © 2026 Serenity. All Rights Reserved