wiki.sine.space | sinespace

Difference between revisions of "Components/SceneBackgroundMusic"

From wiki.sine.space
Jump to: navigation, search
m
Line 5: Line 5:
  
  
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'''.  
+
Create an empty object in your scene that will be used for your region.
  
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).
+
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".
 
If you want the audio clip to repeat, tick "Loop".

Revision as of 13:40, 16 February 2017


SceneBackgroundMusic
Component


Create an empty object in your scene that will be used for 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".


You can also stream music from Shoutcast into your region. See Components/SceneBackgroundMusicShoutcast