private void Start() { Crashing = GetComponent <MP_Crash>(); GroundCon = GetComponent <MP_GroundControl>(); BoostScript = GetComponent <MP_Boost_Accel>(); ACon = GetComponent <MP_AirControl>(); RCon = GetComponent <MP_RampCon>(); }
// Use this for initialization void Start() { GCon = GetComponent <MP_GroundControl>(); ACon = GetComponent <MP_AirControl>(); Accel = GetComponent <MP_Boost_Accel>(); lValue = GetComponent <MP_LaneValues>(); Crashing = GetComponent <MP_Crash>(); //setting the reset rotation to 0 resetRot = new Quaternion(0f, 0f, 0f, 1f); }
// Use this for initialization void Start() { LaneSwitch = GetComponent <MP_LaneValues>(); GroundCon = GetComponent <MP_GroundControl>(); RCon = GetComponent <MP_RampCon>(); }