示例#1
0
 public static void PlayECSoundEffect(EnemyChildSFX _sfx, AudioSource _Source)
 {
     if (m_EnemyChildTracks == null)
         return;
     _Source.Stop();
     _Source.clip = m_EnemyChildTracks[(int) _sfx];
     _Source.Play();
 }
示例#2
0
 public static void PlayECSoundEffect(EnemyChildSFX _sfx, AudioSource _Source)
 {
     if (m_EnemyChildTracks == null)
     {
         return;
     }
     _Source.Stop();
     _Source.clip = m_EnemyChildTracks[(int)_sfx];
     _Source.Play();
 }