Is there a way to make a soundtrack stop playing when something happens, even if it has not even gotten close to the end of the file? I do not need to do this with a soundtrack right now, but later down the line in a game I am planning I probably will. Can anyone help?
It depends on how you started the track. If it’s playing on an AudioSource, you can simply call .Stop on that AudioSource.
Ok Thanks