Beispiel #1
0
 public PlayerLocal(AudioClip clip)
 {
     this.super = new SoundPool.Player3D(clip);
     this.localPosition = new Vector3();
     this.localRotation = Quaternion.identity;
 }
Beispiel #2
0
 public PlayerWorld(AudioClip clip)
 {
     this.super = new SoundPool.Player3D(clip);
     this.position = new Vector3();
     this.rotation = Quaternion.identity;
 }
Beispiel #3
0
 static Player3D()
 {
     SoundPool.Player3D player3D = new SoundPool.Player3D()
     {
         super = SoundPool.PlayerShared.Default,
         minDistance = SoundPool.DEF.min,
         maxDistance = SoundPool.DEF.max,
         rolloffMode = SoundPool.DEF.mode,
         spread = SoundPool.DEF.spread,
         dopplerLevel = SoundPool.DEF.doppler,
         bypassEffects = SoundPool.DEF.bypassEffects,
         panLevel = SoundPool.DEF.panLevel
     };
     SoundPool.Player3D.Default = player3D;
 }