Inventory Engine  v3.8
Protected Member Functions | Protected Attributes | List of all members
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...

Inherits MonoBehaviour.

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: