logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityGameCameraInstaller

    Unity-specific installer for the GameCamera system. Creates the UnityGameCameraService, optionally configured from a UnityGameCameraSettings asset, and runs its initial camera discovery pass.

    Inheritance
    object
    UnityGameCameraInstaller
    Implements
    IFoundationInstaller
    IInstaller
    Namespace: Serenity.GameCamera.Installation.Installers
    Assembly: Serenity.UnityGameCamera.Installation.dll
    Syntax
    public class UnityGameCameraInstaller : GameCameraInstaller, IFoundationInstaller, IInstaller

    Constructors

    UnityGameCameraInstaller(IEventDispatcherService, ILogService)

    Initializes the Unity GameCamera installer with required service dependencies.

    Declaration
    public UnityGameCameraInstaller(IEventDispatcherService eventDispatcherService, ILogService logService)
    Parameters
    Type Name Description
    IEventDispatcherService eventDispatcherService

    Dispatcher used to broadcast active-camera and split-screen change signals.

    ILogService logService

    Service for logging and error reporting.

    Methods

    Install(ILogService)

    Installs the GameCamera system: loads the settings asset (optional — falls back to service defaults with a warning when none is found), constructs the service, and assigns it to _service.

    Declaration
    public override void Install(ILogService logService)
    Parameters
    Type Name Description
    ILogService logService

    Logging service for the installation pass.

    Implements

    IFoundationInstaller
    IInstaller
    In this article
    © 2026 Serenity. All Rights Reserved