private void OnTriggerEnter(Collider collision) { if (collision.gameObject.tag != "Player") { return; } roadManager.CheckPointReached(); }