AudioController Properties

Audio Toolkit

Collapse image Expand Image Copy image CopyHover image

The AudioController type exposes the following members.

Properties

  Name Description
Public property ambienceSoundCrossFadeTime_In
Specifies a specific fade-in time for ambience sound cross fading. Only meaningful if specifyCrossFadeInAndOutSeperately is enabled.
Public property ambienceSoundCrossFadeTime_Out
Specifies a specific fade-out time for ambience sound cross fading. Only meaningful if specifyCrossFadeInAndOutSeperately is enabled.
Public property ambienceSoundEnabled
Gets or sets the ambienceSoundEnabled.
Public property DisableAudio
Disables all audio playback.
Public property isAdditionalAudioController
You may use several AudioControllers in the same scene in parallel. All but one (the main controller) must be marked as 'additional'. You can play audio items of any of those controllers with the normal Play() calls.
Public property isSingletonObject
returns true if the AudioController is the main controller (not an additional controller)
(Overrides SingletonMonoBehaviour<(Of <(<'T>)>)>..::..isSingletonObject.)
Public property musicCrossFadeTime_In
Specifies a specific fade-in time for music cross fading. Only meaningful if specifyCrossFadeInAndOutSeperately is enabled.
Public property musicCrossFadeTime_Out
Specifies a specific fade-out time for music cross fading. Only meaningful if specifyCrossFadeInAndOutSeperately is enabled.
Public property musicEnabled
Gets or sets the musicEnabled.
Public property soundMuted
Gets or sets the soundMuted.
Public property Static member systemDeltaTime
Returns the high precision audio system delta time since the last frame update.
Public property Static member systemTime
Returns the high precision audio system time size the application launch.
Public property Volume
The global volume applied to all categories. You change the volume by script and the change will be apply to all playing audios immediately.

See Also