Class AssetBundleRequestOptions
Contains cache information to be used by the AssetBundleProvider
Implements
Inherited Members
Namespace: UnityEngine .ResourceManagement .ResourceProviders
Assembly: solution.dll
Syntax
[Serializable]
public class AssetBundleRequestOptions : ILocationSizeData
Properties
Name | Description |
---|---|
Asset |
Determines how Assets are loaded when accessed. |
Bundle |
The name of the original bundle. This does not contain the appended hash. |
Bundle |
The size of the bundle, in bytes. |
Chunked |
Indicates whether the UnityWebRequest system should employ the HTTP/1.1 chunked-transfer encoding method. |
Clear |
If false, the CRC will not be used when loading bundles from the cache. |
Crc | CRC value of the bundle. |
Hash | Hash value of the asset bundle. |
Redirect |
Indicates the number of redirects which this UnityWebRequest will follow before halting with a “Redirect Limit Exceeded” system error. |
Retry |
Indicates the number of times the request will be retried. |
Timeout | Attempt to abort after the number of seconds in timeout have passed, where the UnityWebRequest has received no data. |
Use |
If false, the CRC will not be used when loading bundles from the cache. |
Use |
If true, UnityWebRequest will be used even if the bundle is stored locally. |
Methods
Name | Description |
---|---|
Compute |
Computes the amount of data needed to be downloaded for this bundle. |