Skip to main content

AudioClip

Notes


When instantiating an instance of this object, it will load the audio from the assets directory. No need for the full path, just the location of the file from the assets directory.

Properties


path (string)
length (float)
formattedLength (string)

Constructor


AudioClip(path : string)