Class VirtualAssetBundleProvider
Simulates the loading behavior of an asset bundle. Internally it uses the AssetDatabase API. This provider will only work in the editor.
Inherited Members
Namespace: UnityEngine.ResourceManagement.ResourceProviders.Simulation
Assembly: Unity.ResourceManager.dll
Syntax
public class VirtualAssetBundleProvider : ResourceProviderBase, IResourceProvider, IInitializableObject, IUpdateReceiver
Constructors
Name | Description |
---|---|
VirtualAssetBundleProvider(VirtualAssetBundleRuntimeData) | Construct a new VirtualAssetBundleProvider object; Contains information on virtual bundle layout |
Methods
Name | Description |
---|---|
GetDefaultType(IResourceLocation) | Get the default type of object that this provider can provide. |
Initialize(string, string) | Initilization data is passed when when constructed from serialized data |
Provide(ProvideHandle) | Provide the object specified in the provideHandle. |
Release(IResourceLocation, object) | Release the specified object that was created from the specified location. |