logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface IPrefetchPolicyProfile

    Definition interface for a single prefetch policy profile asset.
    Lets Application-layer code (installers, use cases) consume a designer-configured profile without depending on the concrete Unity ScriptableObject type.

    Namespace: Serenity.AssetPrefetcher.Application.Interfaces
    Assembly: Serenity.AssetPrefetcher.Application.dll
    Syntax
    public interface IPrefetchPolicyProfile

    Properties

    Id

    Declaration
    string Id { get; }
    Property Value
    Type Description
    string

    Unique identifier for this profile. Uses the asset name if not specified.

    Methods

    ToValueObject()

    Converts this profile's configuration to a domain value object.

    Declaration
    PrefetchProfile ToValueObject()
    Returns
    Type Description
    PrefetchProfile

    PrefetchProfile value object with the configured settings

    In this article
    © 2026 Serenity. All Rights Reserved