AudioManager

AudioManager

The audio manager is a view-side service with the public name "AudioManager". It controls playing spatial audio using the Resonance spatial audio system. If you want to use the audio manager, add it as a service to your root view. A pawn with the PM_AudioSource mixin can play sounds, and a pawn with the PM_AudioListener controls the position of the listener.

class MyViewRoot extends ViewRoot {
  static viewServices() { return [AudioManager]; }
}

Extends

  • ViewService