logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityMenuServiceFactory

    Factory implementation for creating Unity-specific menu services as MonoBehaviour components.
    Creates UnityMenuService instances with proper GameObject setup for menu management functionality.

    Inheritance
    object
    UnityMenuServiceFactory
    Implements
    IMenuServiceFactory
    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.Services.Factories
    Assembly: Serenity.UnityMenu.Infrastructure.dll
    Syntax
    public class UnityMenuServiceFactory : IMenuServiceFactory

    Constructors

    UnityMenuServiceFactory()

    Declaration
    public UnityMenuServiceFactory()

    Methods

    CreateService(string)

    Creates and initializes a Unity menu service with the specified configuration.
    Instantiates a GameObject with UnityMenuService component for managing menu operations.

    Declaration
    public IMenuService CreateService(string serviceName)
    Parameters
    Type Name Description
    string serviceName

    The name to assign to the service GameObject for identification in hierarchy.

    Returns
    Type Description
    IMenuService

    A fully configured Unity menu service ready for menu management operations.

    Implements

    IMenuServiceFactory
    In this article
    © 2026 Serenity. All Rights Reserved