logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityCheckpointInstallationStep

    Installs the checkpoint aggregate into the running composition.

    Inheritance
    object
    UnityCheckpointInstallationStep
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Checkpoint.Installation.Installers
    Assembly: Serenity.UnityCheckpoint.Installation.dll
    Syntax
    public class UnityCheckpointInstallationStep
    Remarks

    Checkpoints persist through an IKeyValueStore. A store a project or another module registered in the locator wins; without one the step falls back to the PlayerPrefs store Serenity ships, which is the standalone composition the checkpoint cookbook documents.

    Constructors

    UnityCheckpointInstallationStep()

    Declaration
    public UnityCheckpointInstallationStep()

    Methods

    Install(IUnityInstallationContext)

    Builds the aggregate's installer, installs it and publishes its services.

    Declaration
    public UnityCheckpointInstaller Install(IUnityInstallationContext installationContext)
    Parameters
    Type Name Description
    IUnityInstallationContext installationContext

    The composition root this step installs into, and the locator a project-supplied key-value store is read from.

    Returns
    Type Description
    UnityCheckpointInstaller

    The installer, so the composition root can keep its own reference to it.

    ResolveKeyValueStore(IUnityInstallationContext, ILogService)

    The store checkpoints persist through: a registered one, otherwise the PlayerPrefs store.

    Declaration
    public static IKeyValueStore ResolveKeyValueStore(IUnityInstallationContext installationContext, ILogService logService)
    Parameters
    Type Name Description
    IUnityInstallationContext installationContext

    The composition root whose locator is searched.

    ILogService logService

    Reports the fallback. May be null.

    Returns
    Type Description
    IKeyValueStore

    Never null.

    In this article
    © 2026 Serenity. All Rights Reserved