logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityAddressableUtils

    Direct API to load ALL from Addressables (no filtering, no caching).
    Prefer the unified API: LoadAllFromAnyBlocking<T>(string)

    Inheritance
    object
    UnityAddressableUtils
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Global.Infrastructure.Utils
    Assembly: Serenity.UnityGlobal.Infrastructure.dll
    Syntax
    public static class UnityAddressableUtils

    Methods

    DebugDumpAddressables()

    Debug method to dump all Addressables keys and their locations to the log (verbose).

    Declaration
    public static void DebugDumpAddressables()

    LoadAllAsync<T>(CancellationToken, Action<T>)

    Loads all assets of type T from Addressables (async).

    Declaration
    public static Task<IList<T>> LoadAllAsync<T>(CancellationToken cancellationToken = default, Action<T> perAsset = null)
    Parameters
    Type Name Description
    CancellationToken cancellationToken
    Action<T> perAsset
    Returns
    Type Description
    Task<IList<T>>
    Type Parameters
    Name Description
    T

    LoadAllBlocking<T>(Action<T>)

    Loads all assets of type T from Addressables (blocking).

    Declaration
    public static IList<T> LoadAllBlocking<T>(Action<T> perAsset = null)
    Parameters
    Type Name Description
    Action<T> perAsset
    Returns
    Type Description
    IList<T>
    Type Parameters
    Name Description
    T
    In this article
    © 2026 Serenity. All Rights Reserved