Audio Player Controller

Use Audio Player Controller to control the audio source from the Audio Player component. Audio Player Controller is in the Audio category.
Input
Name | Data type | Description |
Play | Exec | Play the audio source |
Stop | Exec | Stop the audio source |
Pause | Exec | Pause the audio source |
Resume | Exec | Resume the audio source |
Audio Player | Component | The Audio Player (Component) you want to control |
Output
Name | Data type | Description |
On Play | Exec | Execute next node when the audio source starts playing |
On Stop | Exec | Execute next node when the audio source stops playing |
On Finish | Exec | Execute next node when the audio source finishes playing |
Example
When the camera detect an open mouth, it will trigger the audio player’s audio source to play and loop 3 times. When the audio is playing, it will trigger the alien to appear . When the loop finishes, the alien will disappear.

