Win screen (needs name change)

This commit is contained in:
PokingPines
2024-04-25 15:08:17 +02:00
parent f0d6d419cd
commit e8161eae77
15 changed files with 1195 additions and 11 deletions

View File

@@ -71,7 +71,7 @@ public class Garage : MonoBehaviour
void startGame()
{
SceneManager.LoadScene("Map selector");
SceneManager.LoadScene(1);
carData.GetComponent<CarData>().carType = CurrentCar.name;
carData.GetComponent<CarData>().carColor = currentColor;
}