void Start () { _up = Util.FindInHierarchy(_follow,"Up"); _backwards = Util.FindInHierarchy(_follow,"Backwards"); _control = _follow.GetComponent<CarControlScript>(); }
void Start () { _body = gameObject.GetComponent<Rigidbody>(); _backwards = Util.FindInHierarchy(this.gameObject,"Backwards"); _up = Util.FindInHierarchy(this.gameObject,"Up"); inst = this; }