Beispiel #1
0
    void Start()
    {
        rb         = GetComponent <Rigidbody2D>();
        tankBody   = transform.Find("Chassie");
        tankTurret = transform.Find("TurretStyle");

        currTime = 0;
        styleTime.SetMaxTime(maxTime);

        playerLife = playerMaxLife;

        turretAvail = true;
    }
Beispiel #2
0
 void Start()
 {
     rb       = GetComponent <Rigidbody2D>();
     currTime = 0;
     styleTime.SetMaxTime(maxTime);
 }