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