(Changed entry to describe local music asset, with link to how to stream from Shoutcast.) |
|||
Line 2: | Line 2: | ||
|above=SceneBackgroundMusic | |above=SceneBackgroundMusic | ||
|subheader=Component | |subheader=Component | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | + | You can also stream music from Shoutcast into your region. See [[Components/SceneBackgroundMusicShoutcast]] | |
− | Create an empty object in your scene that will go in your region. Under the Inspector window, click on '''Add Component | + | Create an empty object in your scene that will go in your region. Under the Inspector window, click on '''Add Component''' and add an '''Audio Source'''. |
− | Add in | + | Add in a suitable audio clip from your Project assets. Select the output as "Music" (if its left as "None" it may play but at a educed volume level). |
+ | |||
+ | If you want the audio clip to repeat, tick "Loop" | ||
{{Component Navbox}} | {{Component Navbox}} |
SceneBackgroundMusic | |
Component |
You can also stream music from Shoutcast into your region. See Components/SceneBackgroundMusicShoutcast
Create an empty object in your scene that will go in your region. Under the Inspector window, click on Add Component and add an Audio Source.
Add in a suitable audio clip from your Project assets. Select the output as "Music" (if its left as "None" it may play but at a educed volume level).
If you want the audio clip to repeat, tick "Loop"
|