River Jiang
2020-10-21 40a2cbb83c4d0485ed52d4d87db78bb3c0e3fcbb
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>
    /// 减少子弹,返回减少后的子弹数目。