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