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