AudioFile is most direct with minimal setup in the Sandbox editor to playback an audio file More...
Inherits IDisposable.
Public Member Functions | |
AudioFile (string filePath) | |
Creates an audio file to playback with the specified file path. Note: filePath should not have the file extension. Eg "helloworld.wav" should be passed as "helloworld" More... | |
void | Dispose () |
void | Play () |
Plays the audio file More... | |
void | Stop () |
Stops the audio file More... | |
AudioFile is most direct with minimal setup in the Sandbox editor to playback an audio file
|
inline |
Creates an audio file to playback with the specified file path. Note: filePath should not have the file extension. Eg "helloworld.wav" should be passed as "helloworld"
filePath |
|
inline |
|
inline |
Plays the audio file
|
inline |
Stops the audio file
|
get |
Returns the file path of audio file for playback