示例#1
0
 private void Start()
 {
     // carParts = GetComponentInChildren<CarParts>();
     stars = GetComponentInChildren <Stars>();
     stars.gameObject.SetActive(false);
     wheels = GetComponent <WheelRotate>();
 }
示例#2
0
 void Awake()
 {
     items  = gameObject.GetComponentsInChildren <ItemSlot>();
     wheels = GetComponent <WheelRotate>();
 }