示例#1
0
 public AudioElement GetAudio()
 {
     if (clips == null)
     {
         return(AudioElement.NULL);
     }
     else if (clips.Length <= 0)
     {
         return(AudioElement.NULL);
     }
     return(AudioElement.GetRandom(clips));
 }