logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityUiViewModelFactory

    Factory for creating Unity-specific UI view models.

    Inheritance
    object
    UnityUiViewModelFactory
    Implements
    IUiViewModelFactory
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Ui.InterfaceAdapters.ViewModels.Factories
    Assembly: Serenity.UnityUi.InterfaceAdapters.dll
    Syntax
    public class UnityUiViewModelFactory : IUiViewModelFactory

    Constructors

    UnityUiViewModelFactory()

    Declaration
    public UnityUiViewModelFactory()

    Methods

    CreateViewModel(string)

    Creates a new Unity UI view model with the specified identifier.

    Declaration
    public IViewModel CreateViewModel(string id)
    Parameters
    Type Name Description
    string id

    The unique identifier for the view model.

    Returns
    Type Description
    IViewModel

    A new Unity UI view model instance.

    Implements

    IUiViewModelFactory
    In this article
    © 2026 Serenity. All Rights Reserved