BetterAudio Source Documentation

Behaviours list

Filter by categories:

On Start
On Play
On Update
On End
On Collider
On Event
Get Better Audio Plus !
Auto Destroy
On Start
On Play
On Update
On End
On Collider
On Event
A simple behaviour that destroy the source's gameobject when triggered.
You can specify a delay between the trigger and the execution.

When used in Update behaviour, you must specify a time at wich it will be triggered.
Clip Serie
On Start
On Play
On Update
On End
On Collider
On Event
This behaviour can be used to play clips one after another. Useful to make dialogs.
Delay
On Start
On Play
On Update
On End
On Collider
On Event
When triggered the Delay send a command either Play, Stop or Toggle after the specified delay.
  • Play: if the Audio Source is paused or stopped it will play.
  • Stop: if the Audio Source is playing it will stop it.
  • Toggle: if the Audio Source is playing it will stop, however it will play
Fade
On Start
On Play
On Update
On End
On Collider
On Event
The Fade behaviour will set the volume at the Initial amount. Then the amount will go to the Target amount taking the time specified in the Fade Time property.

When used in Update behaviour, you must specify a time at wich it will be triggered.
Follow
On Start
On Play
On Update
On End
On Collider
On Event
Follow, will translate the source's gameobject to another specified transform.
If Keep Offset is checked, the behaviour will remenber the distance between the target and the source when First triggered and keep it same for all future triggers.
Loop
On Start
On Play
On Update
On End
On Collider
On Event
When the clip is finished, the Loop behaviour will rewind the play time to 0 and play it again. The Loop count property will tell how many times the behaviour will trigger. If Auto Destroy is active, the source's gameobject will be destroy once all loops done and after the property delay.
Random Clip
On Start
On Play
On Update
On End
On Collider
On Event
When triggered this behaviour will change the source's clip randomly with one of the clip list. For On Play event the new clip will be played however it need to be triggered with another method (Delay, Loop, Custom Script).
Set Source property (float)
On Start
On Play
On Update
On End
On Collider
On Event
When triggered it will change the selected source property to the desired value.
Set Source property (curve)
On Start
On Play
On Update
On End
On Collider
On Event
This behaviour will make the source property follow the desired curve (be careful to stay between the bounds).

Asset and documentation made by Raphaƫl Horion

2020 All rights reserved