background music in loading screen
This commit is contained in:
@@ -24,6 +24,9 @@ public class GameManager : MonoBehaviour
|
||||
private bool hasCountedDown = false;
|
||||
void Start()
|
||||
{
|
||||
AudioSource backgroundMusic = GameObject.Find("Car Data").GetComponent<AudioSource>();
|
||||
backgroundMusic.Stop();
|
||||
|
||||
// reset laps
|
||||
playerLaps = new int[players.Count()];
|
||||
playerTimes = new float[players.Count()];
|
||||
|
||||
Reference in New Issue
Block a user