logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityMenuServiceSettingsDefinition

    Unity ScriptableObject implementation of IMenuServiceSettingsDefinition that defines menu service configuration.
    Provides settings for the menu service including initial menu and border margins through Unity's inspector.

    Inheritance
    object
    UnityMenuServiceSettingsDefinition
    Implements
    IMenuServiceSettingsDefinition
    IFoundationSettings
    Namespace: Serenity.Menu.Infrastructure.Settings
    Assembly: Serenity.UnityMenu.Infrastructure.dll
    Syntax
    public class UnityMenuServiceSettingsDefinition : ScriptableObject, IMenuServiceSettingsDefinition, IFoundationSettings

    Constructors

    UnityMenuServiceSettingsDefinition()

    Declaration
    public UnityMenuServiceSettingsDefinition()

    Fields

    BorderMargin

    Declaration
    public Vector2 BorderMargin
    Field Value
    Type Description
    Vector2

    The border margin settings for menu positioning in Unity's coordinate system.

    ControllerId

    Declaration
    public string ControllerId
    Field Value
    Type Description
    string

    Gets the ID of the menu controller.

    Guid

    Declaration
    public string Guid
    Field Value
    Type Description
    string

    The globally unique identifier for this menu service settings definition.

    Id

    Declaration
    public string Id
    Field Value
    Type Description
    string

    The unique identifier for this menu service settings definition.

    InitMenuId

    Declaration
    public string InitMenuId
    Field Value
    Type Description
    string

    The identifier of the initial menu to display when the menu service starts.

    Implements

    IMenuServiceSettingsDefinition
    IFoundationSettings
    In this article
    © 2026 Serenity. All Rights Reserved