private void Update() { Bang.SetActive(false); BulletPanel.text = BulletMagazineRemains.ToString() + "/" + BulletRemains.ToString(); if (BulletMagazineRemains == 0 && !_isRecharge) { Recharge(); } }
private void Awake() { BulletRemains = MaxBulletAmount; BulletMagazineRemains = MaxBulletInMagazine; BulletPanel.text = BulletMagazineRemains.ToString() + "/" + BulletRemains.ToString(); }