C# 클래스 UnityEngine.Networking.DownloadHandlerAudioClip

상속: DownloadHandler
파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

공개 메소드들

메소드 설명
DownloadHandlerAudioClip ( string url, AudioType audioType ) : System

Constructor, specifies what kind of audio data is going to be downloaded.

GetContent ( UnityWebRequest www ) : AudioClip

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[]

메소드 상세

DownloadHandlerAudioClip() 공개 메소드

Constructor, specifies what kind of audio data is going to be downloaded.

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

GetContent() 공개 정적인 메소드

Returns the downloaded AudioClip, or null.

public static GetContent ( UnityWebRequest www ) : AudioClip
www UnityWebRequest A finished UnityWebRequest object with DownloadHandlerAudioClip attached.
리턴 UnityEngine.AudioClip

GetData() 보호된 메소드

Called by DownloadHandler.data. Returns a copy of the downloaded clip data as raw bytes.

protected GetData ( ) : byte[]
리턴 byte[]

GetText() 보호된 메소드

protected GetText ( ) : string
리턴 string