wiki.sine.space | sinespace

Difference between revisions of "Components/StreamingBackgroundMusic"

From wiki.sine.space
Jump to: navigation, search
(Created page with "This allows you to stream music in your region from URLs. Create an empty object in your scene which will be in your region. Click on the object in the hierarchy and then c...")
(No difference)

Revision as of 10:43, 23 September 2016

This allows you to stream music in your region from URLs.

Create an empty object in your scene which will be in your region.

Click on the object in the hierarchy and then click on Add Component under the Inspector window. Search for Streaming Background Music.

This will add the component to your object. You will see the component has settings called URLS and Shuffle loading.

If you click on the drop down arrow next to URLS, you will see it has a Size option. If you have 3 URLs of songs you want to add to you region, you would enter the number 3 in this size option, press Enter, and three element boxes will appear. You then add the URLs into these boxes. If you have ten, you would add the number 10 and so on.

Shuffle loading unchecked will play the songs in the order you have added the URLs in the URLs settings, and checking it will shuffle the tracks.

Streamingmusic.jpg