logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityMenuComponentCreator

    Responsible for creating individual UI components (slider, toggle, selector, dropdown, input, submit).
    Delegates interaction callbacks to the selection, option value, and submit services.

    Inheritance
    object
    UnityMenuComponentCreator
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Menu.Infrastructure.Views.Factories
    Assembly: Serenity.UnityMenu.Infrastructure.dll
    Syntax
    public class UnityMenuComponentCreator

    Constructors

    UnityMenuComponentCreator(IGameSettingsService, IFoundationViewElementFactory, AudioPlayerPlayClip, string, ILogService, UnityUiSubmitComponentFactory, UnityUiToggleComponentFactory, UnityUiSelectorComponentFactory, UnityUiSliderComponentFactory, UnityUiDropdownComponentFactory, UnityUiInputComponentFactory, UnityMenuSelectionService, UnityMenuOptionValueService, UnityMenuSubmitService)

    Declaration
    public UnityMenuComponentCreator(IGameSettingsService gameSettingsService, IFoundationViewElementFactory foundationViewElementFactory, AudioPlayerPlayClip audioPlayerPlayClip, string audioPlayerServiceId, ILogService logService, UnityUiSubmitComponentFactory submitComponentFactory, UnityUiToggleComponentFactory toggleComponentFactory, UnityUiSelectorComponentFactory selectorComponentFactory, UnityUiSliderComponentFactory sliderComponentFactory, UnityUiDropdownComponentFactory dropdownComponentFactory, UnityUiInputComponentFactory inputComponentFactory, UnityMenuSelectionService selectionService, UnityMenuOptionValueService optionValueService, UnityMenuSubmitService submitService)
    Parameters
    Type Name Description
    IGameSettingsService gameSettingsService
    IFoundationViewElementFactory foundationViewElementFactory
    AudioPlayerPlayClip audioPlayerPlayClip
    string audioPlayerServiceId
    ILogService logService
    UnityUiSubmitComponentFactory submitComponentFactory
    UnityUiToggleComponentFactory toggleComponentFactory
    UnityUiSelectorComponentFactory selectorComponentFactory
    UnityUiSliderComponentFactory sliderComponentFactory
    UnityUiDropdownComponentFactory dropdownComponentFactory
    UnityUiInputComponentFactory inputComponentFactory
    UnityMenuSelectionService selectionService
    UnityMenuOptionValueService optionValueService
    UnityMenuSubmitService submitService

    Methods

    CreateComponent(UiOption, UnityMenuView, int, IUiThemeDefinition)

    Declaration
    public GameObject CreateComponent(UiOption option, UnityMenuView view, int optionIndex, IUiThemeDefinition theme)
    Parameters
    Type Name Description
    UiOption option
    UnityMenuView view
    int optionIndex
    IUiThemeDefinition theme
    Returns
    Type Description
    GameObject
    In this article
    © 2026 Serenity. All Rights Reserved