<Audio>
An audio (file) resource.
Audio attributes
Attribute | Description |
source | Filename [Required] |
type | Audio type |
Additionally, this asset type inherits all resource attributes.
source [string] (Required)
Filename of the audio source file.
Example:
source = "Assets\Audio\Audio file.mp3"
Valid meta class values
Class | Description |
"bgm" | Classify as background music |
"effect" | Classify as a sound effect |
"vocal" | Classify as a vocal |
Example
<Audio name="My sound" source="Assets/Audio/My sound.wav" type="effect" />