Merge branch 'master' of git@ooftooft.net:Racesm.git
# Conflicts: # Assets/ML-Agents/Timers/ForestRacetrack_timers.json # Assets/ML-Agents/Timers/WinScreen_timers.json
This commit is contained in:
@@ -53,6 +53,8 @@ public class MapSelectorScript : MonoBehaviour
|
||||
|
||||
public void SelectMapAndLoadScene()
|
||||
{
|
||||
AudioSource backgroundMusic = GameObject.Find("Car Data").GetComponent<AudioSource>();
|
||||
backgroundMusic.Stop();
|
||||
SceneManager.LoadScene(scene);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user