// 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() { MEC = MRacer.GetComponent <EnergyController>(); MSC = MRacer.GetComponent <ShildController>(); MHM = MRacer.GetComponent <HoverMotor>(); boost.Pause(); boostPlayed = false; accPlayed = false; airbreakPlayed = false; shildPlayed = false; }
// Use this for initialization void Start() { MHM = MRacer.GetComponent <HoverMotor>(); MSC = MRacer.GetComponent <ShildController>(); tBSpeedB = 10; tBLifeB = 0.4f; tBSpeed = 0; tBLife = 0; tBAcc = 0.5f; tBLA = 0.02f; tBSlow = 0.0125f; tBLS = 0.005f; shieldsDownCounter = 0.3f; explosion.Stop(); }
// Use this for initialization void Start() { MHM = MRacer.GetComponent <HoverMotor>(); SCtrl = MRacer.GetComponent <ShildController>(); BCtrl = MRacer.GetComponent <BoostController>(); }