コード例 #1
0
 public void Awake()
 {
     car_Controller = this.gameObject.transform.GetComponent <Car_controller>();
     race_Manager   = GameObject.FindGameObjectWithTag("LogicHandler").GetComponent <Race_manager>();
 }
コード例 #2
0
 private void Awake()
 {
     race_Manager = this.gameObject.GetComponentInParent <Race_manager>();
 }