Ejemplo n.º 1
0
 public static void PlayClipAtPoint(this AudioClip audioClip, Vector3 position)
 {
     audioClip.PlayClipAtPoint(position, 1.0f, 1.0f, 0.0f);
 }
Ejemplo n.º 2
0
 public static void PlayClipAtPoint(this AudioClip audioClip, Vector3 position, float volume)
 {
     audioClip.PlayClipAtPoint(position, volume, 1.0f, 0.0f);
 }
Ejemplo n.º 3
0
 public static void Play(this AudioClip audioClip)
 {
     audioClip.PlayClipAtPoint(Vector3.zero, 1.0f, 1.0f, 0.0f);
 }
 public static void Play(this AudioClip @this)
 {
     @this.PlayClipAtPoint(Vector3.zero, 1.0f, 1.0f, 0.0f);
 }