logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityGameGraphicsServiceFactory

    Factory for creating Unity-specific game graphics services.

    Inheritance
    object
    UnityGameGraphicsServiceFactory
    Implements
    IGameGraphicsServiceFactory
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.GameGraphics.Infrastructure.Services
    Assembly: Serenity.UnityGameGraphics.Infrastructure.dll
    Syntax
    public class UnityGameGraphicsServiceFactory : IGameGraphicsServiceFactory

    Constructors

    UnityGameGraphicsServiceFactory()

    Declaration
    public UnityGameGraphicsServiceFactory()

    Methods

    CreateService(string, IGameGraphicsSettings, IEventDispatcherService, ILogService, IGameSettingsService)

    Creates a new Unity game graphics service with the specified configuration.

    Declaration
    public IGameGraphicsService CreateService(string serviceName, IGameGraphicsSettings settings, IEventDispatcherService eventDispatcherService, ILogService logService, IGameSettingsService gameSettingsService)
    Parameters
    Type Name Description
    string serviceName

    The name to assign to the service GameObject.

    IGameGraphicsSettings settings

    The graphics settings configuration for the service.

    IEventDispatcherService eventDispatcherService

    The event dispatcher service for handling graphics events.

    ILogService logService

    The log service for logging information.

    IGameSettingsService gameSettingsService

    The game settings service for reading persisted user settings.

    Returns
    Type Description
    IGameGraphicsService

    An initialized game graphics service instance.

    Implements

    IGameGraphicsServiceFactory
    In this article
    © 2026 Serenity. All Rights Reserved