AddressableAssetManager
AddressableAssetManager
The AddressableAssetManager
is a utility class designed to manage addressable assets in Unity. It facilitates the loading, instantiation, and releasing of assets, as well as handling game objects associated with those assets. This class is particularly useful when managing the lifecycle of assets loaded using Unity's Addressables system. It also offers asynchronous support via UniTask if UniTask is installed.
Public Methods
LoadAsset<T>
InstantiateSync
IsLoaded
GetInstances
GetFirstInstance
DestroyAllThenRelease
DestroyAllWithoutRelease
DestroyAllWithoutRelease
Public Methods (UniTask)
Requires UniTask to be installed.
LoadAssetAsync<T>
InstantiateAsync
Public Events
OnInstanceDestroy
OnAssetUnloaded
Last updated