Assets/Scripts/TowerDefense/UI/BulletUICtl.cs
@@ -1,4 +1,5 @@ using DG.Tweening; using Protobuf; using System.Collections; using System.Collections.Generic; using UnityEngine; @@ -31,10 +32,11 @@ /// </summary> public void resetToMaxBullet() { if (this.curBulletNum == maxBulletNum) return; this.curBulletNum = maxBulletNum; this.updateBulletUI(curBulletNum, maxBulletNum); } /// <summary> /// 减少子弹,返回减少后的子弹数目。