logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityGameSettingsFactory

    Factory class for creating GameSettings entities from game settings definitions.
    Provides Unity-specific implementation of the IGameSettingsFactory interface for converting definition objects into concrete GameSettings instances.

    Inheritance
    object
    UnityGameSettingsFactory
    Implements
    IGameSettingsFactory
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.GameSettings.Infrastructure.Services
    Assembly: Serenity.UnityGlobal.Infrastructure.dll
    Syntax
    public class UnityGameSettingsFactory : IGameSettingsFactory

    Constructors

    UnityGameSettingsFactory()

    Declaration
    public UnityGameSettingsFactory()

    Methods

    CreateGameSettings(IGameSettingsDefinition)

    Creates a GameSettings entity from a game settings definition.
    Converts an IGameSettingsDefinition into a concrete GameSettings object with all properties mapped from the definition including ID, type, options, default values, limits, and storage configuration.

    Declaration
    public GameSettingsEntity CreateGameSettings(IGameSettingsDefinition definition)
    Parameters
    Type Name Description
    IGameSettingsDefinition definition

    Game settings definition containing all configuration data

    Returns
    Type Description
    GameSettingsEntity

    New GameSettings entity with properties mapped from the definition

    Implements

    IGameSettingsFactory
    In this article
    © 2026 Serenity. All Rights Reserved