Version: 2021.2
言語: 日本語
public bool streamAudio ;

説明

Create streaming AudioClip.

Creates an AudioClip that can begin playback without needing whole file to be downloaded. After starting the download, you must perform checks to determine that enough of your file has downloaded before attempting playback. To do this you will need to poll UnityWebRequest.downloadedBytes to calculate an average download speed, and only begin playback once your checks confirm that the remainder of the file will finish downloading before the playback of your AudioClip finishes.