private void Awake() { //GetObjects _BoxColliderTransform = transform.GetChild(0); _ModelTransform = transform.GetChild(1); _CameraTransform = transform.GetChild(2); _OrientationLookAtTransform = transform.GetChild(3); //GetComponents _Physics = GetComponent <CarPhysicsV3>(); _Behaviour = GetComponent <CarBehaviourOld>(); _Inputs = GetComponent <PlayerInputs>(); _BoxCollider = _BoxColliderTransform.GetComponent <BoxCollider>(); }
public StateOld(CarBehaviourOld controller) { _Car = controller; }
public DriftRightOld(CarBehaviourOld controller) { _Car = controller; }
public NormalDriveOld(CarBehaviourOld controller) { _Car = controller; }