logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityScoreInstaller

    Unity-specific installer for the Score service.

    Inheritance
    object
    UnityScoreInstaller
    Implements
    IFoundationInstaller
    IInstaller
    Namespace: Serenity.Score.Installation.Installers
    Assembly: Serenity.UnityScore.Installation.dll
    Syntax
    public class UnityScoreInstaller : ScoreInstaller, IFoundationInstaller, IInstaller
    Remarks

    Creates the UnityScoreService and UnityScoreRepository and wires them together on a dedicated GameObject.

    Constructors

    UnityScoreInstaller()

    Declaration
    public UnityScoreInstaller()

    Methods

    Install(ILogService)

    Installs the Score service by creating the Unity MonoBehaviour implementation with a PlayerPrefs-backed repository.

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

    The logging service for diagnostic output.

    Implements

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