Example #1
0
 public bool PlaySound(SoundChannel.ClipSet clipSet, SoundType type, int priority = 0)
 {
     return(PlaySound(new List <SoundChannel.ClipSet>()
     {
         clipSet
     }, type, priority));
 }
Example #2
0
 public bool PlayManagedSound(object key, Transform parent, SoundChannel.ClipSet clipSet, SoundType type, int priority = 0, float volumeDempfer = 1, float updateDeltaTime = 0.5f)
 {
     return(channels[(int)type].PlayManagedClip(key, parent, clipSet, type, priority, volumeDempfer, updateDeltaTime));
 }