Happy New Year, everybody!
I'm sure this is probably just something obvious I'm not thinking of, when I play a piece of music across scenes, how can I stop it?
The problem, of course, is that the object doesn't exist beforehand in the scene that I want to stop it in - it's just being carried over from the previous one.
If there's no answer to this, it won't be killer to fade my music out at the end of a scene and then quickly fade it back in again from the top at the beginning of the next one, but it'd be nice to be able to do it across scenes and then have a command to stop.
Comments
Check that the Constant ID number on the prefab and the scene object are the same - if you added the prefab before the script, then it may be that the values are different, and you'll have to click "Revert" in the scene object's Inspector to re-sync them.