logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityMenuServiceSettingsDefinitionEditor

    Custom editor for UnityMenuServiceSettingsDefinition ScriptableObject.
    Provides specialized GUI for configuring menu service settings including initial menu ID selection and border margin settings. Features dropdown selection for available menus and vector input for margin configuration.

    Inheritance
    object
    UnityMenuServiceSettingsDefinitionEditor
    Namespace: Serenity.Menu.Infrastructure.Settings.Editor
    Assembly: Serenity.UnityMenu.Infrastructure.Editor.dll
    Syntax
    public class UnityMenuServiceSettingsDefinitionEditor : FoundationEditor<UnityMenuServiceSettingsDefinition>

    Constructors

    UnityMenuServiceSettingsDefinitionEditor()

    Declaration
    public UnityMenuServiceSettingsDefinitionEditor()

    Methods

    DrawSerializedFields()

    Suppresses base auto-drawing; every field is drawn explicitly below.

    Declaration
    protected override void DrawSerializedFields()

    OnInspectorGUI()

    Renders the custom inspector GUI for UnityMenuServiceSettingsDefinition ScriptableObject.
    Displays fields for initial menu ID selection and border margin configuration.

    Declaration
    public override void OnInspectorGUI()

    RenderBorderMarginHandler(UnityMenuServiceSettingsDefinition)

    Renders the border margin vector input field.
    Provides UI for configuring the border margin used in menu layouts.

    Declaration
    public void RenderBorderMarginHandler(UnityMenuServiceSettingsDefinition menuServiceSettings)
    Parameters
    Type Name Description
    UnityMenuServiceSettingsDefinition menuServiceSettings

    RenderControllerIdHandler(UnityMenuServiceSettingsDefinition)

    Renders the menu controller ID input field.
    Provides UI for specifying the controller ID associated with the menu service.

    Declaration
    public void RenderControllerIdHandler(UnityMenuServiceSettingsDefinition menuServiceSettings)
    Parameters
    Type Name Description
    UnityMenuServiceSettingsDefinition menuServiceSettings
    In this article
    © 2026 Serenity. All Rights Reserved