Hello all,
This is some simple code I wrote, but perhaps it may be of use to someone,
I use this to fade out my level music before I load a new level,
The new level is loaded by a button press, the button code is also below.
The level that gets loaded is set on the game object by the 'level' variable.
How To --> Fade Out Music Before Loading Level
This is some simple code I wrote, but perhaps it may be of use to someone,
I use this to fade out my level music before I load a new level,
The new level is loaded by a button press, the button code is also below.
The level that gets loaded is set on the game object by the 'level' variable.
Code (csharp):