This component is used to play sounds on VCI.
Support for MP3 import/export has been added from VCI v0.24 A MP3 exported from UniVCI v0.24 will not be converted into the WAV file. It will be exported as-is in the format of MP3.
Property | Default setting | Feature |
---|---|---|
Audio Clip | The clip you specified | An audio clip to play |
Output | The sound is output through an AudioListener or an AudioMixier. | |
Mute | Disabled | When enabled, the audio will be played, but it will be muted. |
Play On Awake | Disabled | When enabled, the audio is played simultaneously as the object is spawned. |
Loop | Disabled | When enabled, the AudioClip will be looped. |
Priority | 128 | Set the priority of the Audio Source. |
Volume | 1 | Loudness of the audio. |
Pitch | 1 | Play speed of the audio. 1 is the normal play speed. |
Stereo Pan | 0 | Sets the place of the 2D sound in a stereo field. |
3D Sound Settings | Not supported | Make the audio sound like as if it's in a 3D space. Not supported in VCI |
While MP3 can shrink the file size compared to WAV, it takes longer for VirtualCast to load MP3 than WAV. Also, be aware of the fact: the longer the length, the more RAM it consumes.