void Start() { rb = GetComponent <Rigidbody2D>(); tankBody = transform.Find("Chassie"); tankTurret = transform.Find("TurretStyle"); currTime = 0; styleTime.SetMaxTime(maxTime); playerLife = playerMaxLife; turretAvail = true; }
void Start() { rb = GetComponent <Rigidbody2D>(); currTime = 0; styleTime.SetMaxTime(maxTime); }