Méthode | Description | |
---|---|---|
DownloadHandlerAssetBundle ( string url, |
Versioned constructor. Caches downloaded asset bundles.
|
|
DownloadHandlerAssetBundle ( string url, uint crc ) : System |
Standard constructor for non-cached asset bundles.
|
|
DownloadHandlerAssetBundle ( string url, uint version, uint crc ) : System |
Simple versioned constructor. Caches downloaded asset bundles.
|
|
GetContent ( |
Returns the downloaded AssetBundle, or null.
|
Méthode | Description | |
---|---|---|
GetData ( ) : byte[] |
Not implemented. Throws <a href="http:msdn.microsoft.comen-uslibrarysystem.notsupportedexception">NotSupportedException<a>.
|
|
GetText ( ) : string |
Not implemented. Throws <a href="http:msdn.microsoft.comen-uslibrarysystem.notsupportedexception">NotSupportedException<a>.
|
public DownloadHandlerAssetBundle ( string url, |
||
url | string | The nominal (pre-redirect) URL at which the asset bundle is located. |
hash | A hash object defining the version of the asset bundle. | |
crc | uint | A checksum to compare to the downloaded data for integrity checking, or zero to skip integrity checking. |
Résultat | System |
public DownloadHandlerAssetBundle ( string url, uint crc ) : System | ||
url | string | The nominal (pre-redirect) URL at which the asset bundle is located. |
crc | uint | A checksum to compare to the downloaded data for integrity checking, or zero to skip integrity checking. |
Résultat | System |
public DownloadHandlerAssetBundle ( string url, uint version, uint crc ) : System | ||
url | string | The nominal (pre-redirect) URL at which the asset bundle is located. |
version | uint | Current version number of the asset bundle at url. Increment to redownload. |
crc | uint | A checksum to compare to the downloaded data for integrity checking, or zero to skip integrity checking. |
Résultat | System |
public static GetContent ( |
||
www | A finished UnityWebRequest object with DownloadHandlerAssetBundle attached. | |
Résultat |