Пример #1
0
 public void playOneShot(IAudioClip clip)
 {
     source.PlayOneShot(clip.ToUnity());
 }
Пример #2
0
 public void playOneShot(IAudioClip clip)
 {
     source.PlayOneShot(clip.ToUnity());
 }
Пример #3
0
 public void loopSound(IAudioClip clip)
 {
     source.loop = true;
     source.clip = clip.ToUnity();
     source.Play();
 }
Пример #4
0
 public void loopSound(IAudioClip clip)
 {
     source.loop = true;
     source.clip = clip.ToUnity();
     source.Play();
 }