private void OnTriggerEnter(Collider other) { ThisKart = other.gameObject.GetComponent <Kart>(); if (ThisKart != null) { LapParent.CheckIn(position, ThisKart); } }