It looks like you're new here. If you want to get involved, click one of these buttons!
Hi. How to stop music. I'm using same audioManager as Brackeys in this video: https://www.youtube.com/watch?v=6OT43pvUyfY. I want to play different music in scenes.
Using the system from the Brackey's tutorial video, you can make a C# script and add it to the scene, placing this line of code in " void Awake() " area to play the music you want from the Audio Manager Script :
In order to stop the previous music, you can put in this into a script which is run when the current scene is unloaded:
These are the general steps. Please see more specific examples in code here: https://docs.unity3d.com/ScriptReference/AudioSource.Stop.html
and type in more questions as they arise!
Keep on Creating!
Justin of JustinTime Studios (http://unity3d.expert)