Ejemplo n.º 1
0
 private void Start()
 {
     Crashing    = GetComponent <MP_Crash>();
     GroundCon   = GetComponent <MP_GroundControl>();
     BoostScript = GetComponent <MP_Boost_Accel>();
     ACon        = GetComponent <MP_AirControl>();
     RCon        = GetComponent <MP_RampCon>();
 }
Ejemplo n.º 2
0
 // 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);
 }