Hi,
KickStarter.RestartGame();
RestartGame method won't reset music and ambience tracks.
Music or ambience played later in the game will continue to play after restarting the game.
I would expect the music and the ambience to stop.
Is this behaviour intended? If so, I'll simply reset it myself.
KickStarter.stateHandler.GetMusicEngine().StopAll(0);
KickStarter.stateHandler.GetAmbienceEngine().StopAll(0);
AC 1.73.2
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
An abrupt stopping of tracks may not be desirable in all cases, so I feel it best to let the user control how quickly such audio fades out.
Thanks for the info.