Метод | Описание | |
---|---|---|
DownloadHandlerAudioClip ( string url, AudioType audioType ) : System |
Constructor, specifies what kind of audio data is going to be downloaded.
|
|
GetContent ( |
Returns the downloaded AudioClip, or null.
|
Метод | Описание | |
---|---|---|
GetData ( ) : byte[] |
Called by DownloadHandler.data. Returns a copy of the downloaded clip data as raw bytes.
|
|
GetText ( ) : string |
Метод | Описание | |
---|---|---|
InternalGetData ( ) : byte[] |
public DownloadHandlerAudioClip ( string url, AudioType audioType ) : System | ||
url | string | The nominal (pre-redirect) URL at which the audio clip is located. |
audioType | AudioType | Value to set for AudioClip type. |
Результат | System |
public static GetContent ( |
||
www | A finished UnityWebRequest object with DownloadHandlerAudioClip attached. | |
Результат |