private void OnTriggerEnter(Collider other) { if (other.tag == "Playercar") { triggered = true; if (timeKeeper != null) { timeKeeper.RestartCurrentLap(); } } }
private void OnTriggerEnter(Collider other) { if (other.tag == "Playercar") { triggered = true; if (timeKeeper != null) { timeKeeper.RestartCurrentLap(); } } }