Class UnityScoreInstaller
Unity-specific installer for the Score service.
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. |