Exemplo n.º 1
0
 public void PlayQueue(AudioList which, bool highPriority = true)
 {
     if (highPriority || (!highPriority && !m_audioSource.isPlaying))
     {
         audioPlaying = which;
         PlayQueueInstance(which.ToString());
     }
 }
Exemplo n.º 2
0
 public void Play(AudioList which)
 {
     audioPlaying = which;
     PlayInInstance(which.ToString());
 }