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