// Use this for initialization void Start() { MSC = MRacer.GetComponent <ShildController>(); MBC = MRacer.GetComponent <BoostController>(); MSEC = MRacer.GetComponent <SideEngineController>(); shildAlarm = 1f; salarm = false; }
// Use this for initialization void Start() { MBC = MRacer.GetComponent <BoostController>(); MSEC = GetComponent <SideEngineController>(); timeBooster = 1f; rT.Stop(); lT.Stop(); rbT.Stop(); lbT.Stop(); dustcoll.Stop(); onBoost = false; onsideEngine = false; sideEngineOn = false; airbreak = false; tiltAroundX = 0; counterXRo = 0; }