private void OnTriggerExit(Collider other) { if (parent.rolling && other.gameObject.tag == "Finish") { parent.stopRolling(); } }