AudioController Properties |
The AudioController type exposes the following members.
Name | Description | |
---|---|---|
ambienceSoundCrossFadeTime_In |
Specifies a specific fade-in time for ambience sound cross fading. Only meaningful if specifyCrossFadeInAndOutSeperately is enabled.
| |
ambienceSoundCrossFadeTime_Out |
Specifies a specific fade-out time for ambience sound cross fading. Only meaningful if specifyCrossFadeInAndOutSeperately is enabled.
| |
ambienceSoundEnabled |
Gets or sets the ambienceSoundEnabled.
| |
DisableAudio |
Disables all audio playback.
| |
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.
| |
isSingletonObject |
returns true if the AudioController is the main controller (not an additional controller)
(Overrides SingletonMonoBehaviourTisSingletonObject.) | |
musicCrossFadeTime_In |
Specifies a specific fade-in time for music cross fading. Only meaningful if specifyCrossFadeInAndOutSeperately is enabled.
| |
musicCrossFadeTime_Out |
Specifies a specific fade-out time for music cross fading. Only meaningful if specifyCrossFadeInAndOutSeperately is enabled.
| |
musicEnabled |
Gets or sets the musicEnabled.
| |
soundMuted |
Gets or sets the soundMuted.
| |
systemDeltaTime |
Returns the high precision audio system delta time since the last frame update.
| |
systemTime |
Returns the high precision audio system time size the application launch.
| |
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.
|