logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityAssetPrefetcherInstallationStep

    Installs the asset prefetcher aggregate into the running composition.

    Inheritance
    object
    UnityAssetPrefetcherInstallationStep
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.AssetPrefetcher.Installation.Installers
    Assembly: Serenity.UnityAssetPrefetcher.Installation.dll
    Syntax
    public class UnityAssetPrefetcherInstallationStep

    Constructors

    UnityAssetPrefetcherInstallationStep()

    Declaration
    public UnityAssetPrefetcherInstallationStep()

    Methods

    Install(IUnityInstallationContext, PrefetchPolicyRegistry)

    Builds the aggregate's installer, installs it and kicks off the boot prewarm.

    Declaration
    public UnityAssetPrefetcherInstaller Install(IUnityInstallationContext installationContext, PrefetchPolicyRegistry policyRegistry)
    Parameters
    Type Name Description
    IUnityInstallationContext installationContext

    The composition root this step installs into.

    PrefetchPolicyRegistry policyRegistry

    The registry of prefetch profiles, or null when the project has none.

    Returns
    Type Description
    UnityAssetPrefetcherInstaller

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

    In this article
    © 2026 Serenity. All Rights Reserved