Changed car controller script

This commit is contained in:
2024-04-24 07:27:55 +02:00
parent f18bad9413
commit 20cbc182ac
8 changed files with 59 additions and 92 deletions

View File

@@ -4,7 +4,11 @@ using UnityEngine;
public class GameManager : MonoBehaviour
{
// Start is called before the first frame update
public int lapAmount;
public GameObject[] checkpoints;
public GameObject[] players;
int currentLap = 1;
void Start()
{