Para Music Player

BGM Component:
You can set the default music, which music to start with, and the playback mode. This component offers a much more convenient and quicker way to set up the music.
Music Clips:
You can set the number of songs to be played (use local files or URLs) and choose your preferred play mode.
Component Property Names | Property Descriptions |
---|---|
Audio Clip | You can drag the local music files to here. Supported formats: .aif, .wav, .mpeg, .ogg |
Url | You can copy the URL pointing to the music file to the input box, which will automatically be parsed and played after entering the world. (**Note: The Type below must be URL type in order for it to parse properly. Otherwise, it will ignore the URL.) |
Name | You can enter the music name into the input box. You may also call this API directly to input the pre-entered music names if needed. |
Type | You can set the type of music that needs to be parsed:
|
Music playback mode property:
Component Property Names | Property Descriptions |
---|---|
Current Clip Index | You can set which song to start with in this property (starts from 0). |
Audio Source | Since the current component requires Audio Source to run, you must drag the components that require Audio Source to this location. (By default, Audio Source will be included in the mounting of this component, so it's recommended to remount the component in this property.) |
Play Order | You can set the playback types for the songs here. Playback types are as the followings:
|
Updated 2 days ago