AudioClip.length 长度
var length : float
Description描述
The length of the audio clip in seconds (Read Only)
以秒为单位,音频剪辑的长度。(只读)
audio.Play();
// Wait for the audio to have finished
//等待音频播放完成
yield WaitForSeconds (audio.clip.length);
最后修改:2011年1月13日 Thursday 15:29