DownloadHandler サブクラスは AssetBundle のダウンロードに特化してます。
このサブクラスのストリームはダウンロードしたデータを、ワーカースレッド上で Unity アセットバンドルの解凍とデコードするシステムへと渡し、AssetBundle オブジェクトのための効率的なダウンロードと処理を提供します。
| assetBundle | ダウンロードした AssetBundle や、 null を返します。 |
| autoLoadAssetBundle | If true, the AssetBundle will be loaded as part of the UnityWebRequest process. If false, the AssetBundle will be loaded on demand when accessing the DownloadHandlerAssetBundle.assetBundle property. |
| isDownloadComplete | Returns true if the data downloading portion of the operation is complete. |
| DownloadHandlerAssetBundle | キャッシュを行わないアセットバンドルのための標準コンスラクタ |
| GetData | Not implemented. Throws NotSupportedException. |
| GetText | Not implemented. Throws NotSupportedException. |
| GetContent | ダウンロードした AssetBundle や、 null を返します。 |
| data | リモートサーバーからダウンロードした実際のバイト数や null を返します。(読み取り専用) |
| error | Error message describing a failure that occurred inside the download handler. |
| isDone | この DownloadHandler がすべてのデータを受信したことと、この DownloadHandler が必要なダウンロード後の処理を完了したことを親の [UnityWebRequest] によって知らされた場合、true を返します。 |
| text | 便利なプロパティーです。UTF8 ストリングとしてインタープリタされた data からバイトを返します。(読み取り専用) |
| Dispose | Signals that this DownloadHandler is no longer being used, and should clean up any resources it is using. |
| CompleteContent | リモートサーバーからすべてのデータを受信したとき呼び出されるコールバック |
| GetProgress | UnityWebRequest.downloadProgress にアクセスするときに呼び出されるコールバック |
| ReceiveContentLengthHeader | Content-Length ヘッダーを受信したときに呼び出されるコールバック |
| ReceiveData | リモートサーバーからデータを受信したときに呼び出されるコールバック |