using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameManager : MonoBehaviour { public int CarIndex; public static GameManager Instance; private void Awake() { Instance = this; } }