logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface IAssetKeyResolver

    Transforms a logical AssetKey into a valid Addressables key.
    Provides abstraction layer between domain asset keys and infrastructure-specific addressing.

    Namespace: Serenity.AssetPrefetcher.Domain.Interfaces
    Assembly: Serenity.AssetPrefetcher.Domain.dll
    Syntax
    public interface IAssetKeyResolver

    Methods

    ToAddressableKey(AssetKey)

    Converts a domain AssetKey to an Addressables-compatible key.

    Declaration
    object ToAddressableKey(AssetKey key)
    Parameters
    Type Name Description
    AssetKey key

    The logical asset key from the domain layer

    Returns
    Type Description
    object

    An addressables-compatible key object for asset resolution

    In this article
    © 2026 Serenity. All Rights Reserved