Click or drag to resize

AudioController Properties

The AudioController type exposes the following members.

Properties
  NameDescription
Public propertyambienceSoundCrossFadeTime_In
Specifies a specific fade-in time for ambience sound cross fading. Only meaningful if specifyCrossFadeInAndOutSeperately is enabled.
Public propertyambienceSoundCrossFadeTime_Out
Specifies a specific fade-out time for ambience sound cross fading. Only meaningful if specifyCrossFadeInAndOutSeperately is enabled.
Public propertyambienceSoundEnabled
Gets or sets the ambienceSoundEnabled.
Public propertyDisableAudio
Disables all audio playback.
Public propertyisAdditionalAudioController
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 propertyisSingletonObject
returns true if the AudioController is the main controller (not an additional controller)
(Overrides SingletonMonoBehaviourTisSingletonObject.)
Public propertymusicCrossFadeTime_In
Specifies a specific fade-in time for music cross fading. Only meaningful if specifyCrossFadeInAndOutSeperately is enabled.
Public propertymusicCrossFadeTime_Out
Specifies a specific fade-out time for music cross fading. Only meaningful if specifyCrossFadeInAndOutSeperately is enabled.
Public propertymusicEnabled
Gets or sets the musicEnabled.
Public propertysoundMuted
Gets or sets the soundMuted.
Public propertyStatic membersystemDeltaTime
Returns the high precision audio system delta time since the last frame update.
Public propertyStatic membersystemTime
Returns the high precision audio system time size the application launch.
Public propertyVolume
The global volume applied to all categories. You change the volume by script and the change will be apply to all playing audios immediately.
Top
See Also