示例#1
0
 // Use this for initialization
 void Start()
 {
     MSC        = MRacer.GetComponent <ShildController>();
     MBC        = MRacer.GetComponent <BoostController>();
     MSEC       = MRacer.GetComponent <SideEngineController>();
     shildAlarm = 1f;
     salarm     = false;
 }
示例#2
0
    // 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;
    }