may i know how to put a background music on a scene?
import any music file from your desktop and attach that music/song file to the camera
- Felipe
SoundManagerPro pretty much does exactly that. Adds music to scenes to play correctly once you enter them.
There are already some good answer but I want to add resources for royalty free background musicfor your videos
1 Insert a cube to your main camera
2 Insert a AudioSource cubed
3 Insert Starfish script in C # in the cube
4 Drag the music file to the field BackMusic
using UnityEngine;
using System.Collections;
public class BackGroundMusic : MonoBehaviour {
AudioSource fxSound; // Emitir sons
public AudioClip backMusic; // Som de fundo
// Use this for initialization
void Start ()
{
// Audio Source responsavel por emitir os sons
fxSound = GetComponent<AudioSource> ();
fxSound.Play ();
}
}