// Start is called before the first frame update void Start() { carScript = gameObject.GetComponentInParent <MiCarro>(); player = GetComponent <Transform>(); // player = GetComponent<Transform>(); }
// Start is called before the first frame update void Start() { //speedDis = GetComponent<TextMeshProUGUI>(); carScript = GetComponentInParent <MiCarro>(); }