Feel  3.16
The best way to improve your game's feel and make it extra juicy
MoreMountains.Tools.MMAudioListener Class Reference

A simple component that will ensure (if put on ALL audio listeners in your game) that you never see a "There are two audio listeners in the scene" warning again. More...

Inheritance diagram for MoreMountains.Tools.MMAudioListener:

Protected Member Functions

virtual void OnEnable ()
 On enable, disables other listeners if found More...
 

Protected Attributes

AudioListener _audioListener
 
AudioListener[] _otherListeners
 

Detailed Description

A simple component that will ensure (if put on ALL audio listeners in your game) that you never see a "There are two audio listeners in the scene" warning again.

Member Function Documentation

◆ OnEnable()

virtual void MoreMountains.Tools.MMAudioListener.OnEnable ( )
protectedvirtual

On enable, disables other listeners if found

Member Data Documentation

◆ _audioListener

AudioListener MoreMountains.Tools.MMAudioListener._audioListener
protected

◆ _otherListeners

AudioListener [] MoreMountains.Tools.MMAudioListener._otherListeners
protected

The documentation for this class was generated from the following file: