logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityAddressablesKeyCatalog

    Unity Addressables-based implementation of asset key catalog.
    Resolves asset keys from Addressables labels for batch prefetching operations.

    Inheritance
    object
    UnityAddressablesKeyCatalog
    Implements
    IAssetKeyCatalog
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.AssetPrefetcher.Infrastructure.Services
    Assembly: Serenity.UnityAssetPrefetcher.Infrastructure.dll
    Syntax
    public class UnityAddressablesKeyCatalog : IAssetKeyCatalog

    Constructors

    UnityAddressablesKeyCatalog()

    Declaration
    public UnityAddressablesKeyCatalog()

    Methods

    GetKeysByLabelsAsync(IEnumerable<string>, CancellationToken)

    Asynchronously retrieves all asset keys associated with the specified labels.

    Declaration
    public Task<HashSet<string>> GetKeysByLabelsAsync(IEnumerable<string> labels, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    IEnumerable<string> labels

    Collection of Addressables labels to resolve

    CancellationToken cancellationToken

    Cancellation token for operation cancellation

    Returns
    Type Description
    Task<HashSet<string>>

    Set of unique asset keys found for the specified labels

    Implements

    IAssetKeyCatalog
    In this article
    © 2026 Serenity. All Rights Reserved