private int sharedProgress; //min(progress1, progress2) //ghosts (maybe) /* * public GameObject ghostPrefab1; * public GameObject ghostPrefab2; */ // Start is called before the first frame update void Start() { ringManager1.myManager = this; ringManager2.myManager = this; recordGhost1 = player1.GetComponent <RecordGhost>(); recordGhost2 = player2.GetComponent <RecordGhost>(); SetupRace(); }
// Start is called before the first frame update void Start() { ringManager.myManager = this; recordGhost = player.GetComponent <RecordGhost>(); SetupRace(); }