Class UnityAddressableUtils
Inheritance
UnityAddressableUtils
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
Returns
Type Parameters
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