Class VirtualAssetBundle
Contains data need to simulate an asset bundle.
Inherited Members
Namespace: UnityEngine.ResourceManagement.ResourceProviders.Simulation
Assembly: Unity.ResourceManager.dll
Syntax
[Serializable]
public class VirtualAssetBundle : ISerializationCallbackReceiver, IAssetBundleResource
Constructors
Name | Description |
---|---|
VirtualAssetBundle() | Construct a new VirtualAssetBundle object. |
VirtualAssetBundle(string, bool, uint, string) | Construct a new VirtualAssetBundle |
Properties
Name | Description |
---|---|
Assets | The assets contained in the bundle. |
Name | The name of the bundle. |
PercentComplete | The percent of data that has been loaded. |
Methods
Name | Description |
---|---|
GetAssetBundle() | Implementation of IAssetBundleResource API |
OnAfterDeserialize() | Load serialized data into runtime structures. |
OnBeforeSerialize() | Not used |
SetSize(long, long) | Set the size of the bundle. |