Sounds - ImmersiveStorytelling/DocumentationMasterclass GitHub Wiki

Adding sounds to Virtual Reality can really deepen the immersion of the story.

Two ways are possible to do that, via the UI and programmatically. Since we lacked time to do it programmatically, we added music through UI.

UI in Unity

UI

  1. Add new AudioSource from 'create'.
  2. Drag the file of the song in the assets map in Unity.
  3. Drag the song, shown in the assets folder from the project, into the AudioClip field.
  4. To make it 3D, slide the bar of 'Spatial Blend' from 2D to 3D.

From there we can play with the position and settings of the sound through the UI.