Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
7
Question by berting01 · Jan 28, 2012 at 05:06 PM · musicsounds

background music

may i know how to put a background music on a scene?

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image flberger · May 22, 2013 at 07:51 AM 0
Share

See also question Background $$anonymous$$usic.

avatar image gameover835 · Nov 23, 2015 at 06:16 AM 0
Share

how do i add my music ins$$anonymous$$d of the music from the mixer

4 Replies

· Add your reply
  • Sort: 
avatar image
14
Best Answer

Answer by BigBlob · Jan 28, 2012 at 05:19 PM

import any music file from your desktop and attach that music/song file to the camera

  • Felipe

Comment
Add comment · Show 6 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image berting01 · Jan 29, 2012 at 05:34 AM 1
Share

is it only to the camera ? can i attach it to the scene ?

avatar image syclamoth · Jan 29, 2012 at 05:36 AM 1
Share

No, you can't attach it to the scene. However, if you make it a 2D sound you can put it anywhere and it won't get affected by distance falloff.

avatar image berting01 · Jan 29, 2012 at 05:44 AM 0
Share

so, i can drag it to the scene and uncheck the 3d sound? is that what you mean?

avatar image syclamoth · Jan 29, 2012 at 05:45 AM 0
Share

Yep! That would be my entire comment, if it weren't for the $$anonymous$$imum character limit.

avatar image berting01 · Jan 29, 2012 at 05:53 AM 0
Share

thanks for the answer :)

Show more comments
avatar image
3

Answer by madflyskills · Jun 13, 2013 at 12:06 AM

SoundManagerPro pretty much does exactly that. Adds music to scenes to play correctly once you enter them.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image flberger · Jun 13, 2013 at 04:26 AM 0
Share

It is a commercial add-on though, so it is not a native way to achieve the desired effect.

avatar image
1

Answer by ReinaldoSantana · Mar 18, 2015 at 11:53 AM

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 ();
 }

}

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by beingyogiraj · Jun 07, 2016 at 02:35 PM

There are already some good answer but I want to add resources for royalty free background musicfor your videos http://www.thegeekinfo.com/2016/06/how-to-find-royalty-free-music.html

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

13 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Help with the Music System 3 Answers

How to allow the user to choose a song from his/her own library to play in game? 2 Answers

Quick Questions about sounds for my game. 1 Answer

seperate sliders for music and sound sliders 0 Answers

Playing multiple sounds from a C# array? 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges