Class UnityCheckpointInstaller
Unity-specific installer for the Checkpoint service.
Namespace: Serenity.Checkpoint.Installation.Installers
Assembly: Serenity.UnityCheckpoint.Installation.dll
Syntax
public class UnityCheckpointInstaller : CheckpointInstaller, IFoundationInstaller, IInstaller
Remarks
Creates the UnityCheckpointService and UnityCheckpointStore and wires them together on a dedicated GameObject. Requires an IKeyValueStore for persistence.
Constructors
UnityCheckpointInstaller(IKeyValueStore)
Initializes a new instance of the UnityCheckpointInstaller class.
Declaration
public UnityCheckpointInstaller(IKeyValueStore keyValueStore)
Parameters
| Type | Name | Description |
|---|---|---|
| IKeyValueStore | keyValueStore | The key-value store used for checkpoint persistence. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown when |
Methods
Install(ILogService)
Installs the Checkpoint service by creating the Unity MonoBehaviour implementation backed by the injected IKeyValueStore.
Declaration
public override void Install(ILogService logService)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogService | logService | The logging service for diagnostic output. |