|
ActionDirector
1.0.0
The action director's cut for rapid actions integration
|
Play a sound. More...
Public Member Functions | |
| override void | Run () |
| override void | Step (float delta) |
| override void | Stop () |
Public Attributes | |
| AudioSource | audioSource |
| float | timeStart = 0.0f |
| bool | waitForEndSound = false |
Play a sound.
This action will play a sound. The action will end after starting the sound. If waitForEndSound is check, action will only end when the sound is at the end. Use timeStart to start at a specific time.
| AudioSource ActionDirector.ActionPlaySound.audioSource |
The audio source to play
| float ActionDirector.ActionPlaySound.timeStart = 0.0f |
Set the starting position if not at the beginning
| bool ActionDirector.ActionPlaySound.waitForEndSound = false |
Should the action end only when the sound is done?