Class AssetBundleResource
Provides methods for loading an AssetBundle from a local or remote location.
Inherited Members
Namespace: UnityEngine.ResourceManagement.ResourceProviders
Assembly: Unity.ResourceManager.dll
Syntax
public class AssetBundleResource : IAssetBundleResource, IUpdateReceiver
Methods
Name | Description |
---|---|
GetAssetBundle() | Get the asset bundle object managed by this resource. This call may force the bundle to load if not already loaded. |
GetAssetPreloadRequest() | Creates a request for loading all assets from an AssetBundle. |
GetLoadInfo(ProvideHandle, out LoadType, out string) | Determines where an AssetBundle can be loaded from. |
Start(ProvideHandle, AssetBundleUnloadOperation, Func<UnityWebRequestResult, bool>) | Stores AssetBundle loading information, starts loading the bundle. |
Unload(out AssetBundleUnloadOperation) | Starts an async operation that unloads all resources associated with the AssetBundle. |
Update(float) | This will be called once per frame by the ResourceManager |