void Awake() { inputs = GetComponent <CarInputs>(); rg = GetComponent <Rigidbody>(); wheelsInterpolation = new Lerp(0f).SetInterpolationSpeed(5f); }
private void Awake() { rb = GetComponent <Rigidbody>(); boxCollider = GetComponent <BoxCollider>(); inputs = GetComponent <CarInputs>(); }