logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class PreviewOptionTargets

    The transition target id an UiOption resolves to for preview navigation: only a TRANSITION option carries one, every other option previews as non-navigable. Shared by MenuPreviewBuilder (the live-render OptionTargets) and SerenityUiWireframePainter (TransitionTarget) so both preview modes agree on which options navigate. Public (not internal): the Menu module's own NavigationNodeRowSetBuilder reuses this exact rule too, to derive an editable row's live outbound edges from a draft's authored options — the same concern, a different assembly.

    Inheritance
    object
    PreviewOptionTargets
    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.Editor.Preview
    Assembly: Serenity.UnityUi.Infrastructure.Editor.dll
    Syntax
    public static class PreviewOptionTargets

    Methods

    TransitionTargetOf(UiOption)

    The option's TRANSITION target id, or null when it is not a TRANSITION option.

    Declaration
    public static string TransitionTargetOf(UiOption option)
    Parameters
    Type Name Description
    UiOption option
    Returns
    Type Description
    string
    In this article
    © 2026 Serenity. All Rights Reserved