chenxin
2020-10-26 6f16dfb8bcebe67aeb95ded0d8b644af4932e690
Assets/Scripts/TowerDefense/Towers/Tower.cs
@@ -224,9 +224,8 @@
        protected void OnTowerUICtrl()
        {
            //
            // 根据是否是子弹塔防来决定是否显示相应的界面
            BulletUICtl buc = this.placementArea.GetBulletUICtl(gridPosition.x);
            BulletUICtl buc = this.placementArea.GetBulletUICtl(gridPosition.x, gridPosition.y);
            if (buc == null) return;
@@ -245,7 +244,7 @@
            }
            // 根据是否是能量充能来决定是否显示相应的界面.
            EnergyUICtl euc = placementArea.GetEnergyUICtl(gridPosition.x);
            EnergyUICtl euc = placementArea.GetEnergyUICtl(gridPosition.x, gridPosition.y);
            if( (eTowerFuntion == ETowerFuntion.ENERGY) &&(euc != null ))
            {
                // 设置数据