示例#1
0
 void Start()
 {
     counter      = 25f;
     anim         = GetComponent <Animator>();
     whichLevel   = "";
     batteryPower = batTower.GetComponent <BPGscript> ();
 }
示例#2
0
    void Start()
    {
        anim        = GetComponent <Animator>();
        doorsClosed = true;

        liftCome     = GetComponent <LiftCome>();
        batteryTower = batTower.GetComponent <BPGscript> ();
    }
示例#3
0
 void Start()
 {
     anim         = lift.GetComponent <Animator>();
     liftScript   = lift.GetComponent <LiftScript>();
     batteryTower = batTower.GetComponent <BPGscript> ();
 }