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 the next node when the audio source starts playing. |
| On Stop | Exec | Execute the next node when the audio source stops playing. |
| On Finish | Exec | Execute the next node when the audio source finishes playing on each loop. |
Example
When the camera detects 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.
