public void Awake() { car_Controller = this.gameObject.transform.GetComponent <Car_controller>(); race_Manager = GameObject.FindGameObjectWithTag("LogicHandler").GetComponent <Race_manager>(); }
private void Awake() { race_Manager = this.gameObject.GetComponentInParent <Race_manager>(); }