River Jiang
2020-10-21 40a2cbb83c4d0485ed52d4d87db78bb3c0e3fcbb
Assets/Scripts/TowerDefense/Towers/Tower.cs
@@ -72,7 +72,7 @@
        /// 塔防对应的充能状态.
        /// </summary>
        public ETowerFuntion eTowerFuntion = ETowerFuntion.NULL;
        protected BulletUICtl bulletCtl = null;
        public BulletUICtl bulletCtl = null;
        /// <summary>
        /// The tower levels associated with this tower
@@ -115,6 +115,7 @@
        /// 攻击增加
        /// </summary>
        public float attackRise { get; set; }
        /// <summary>
        /// 塔防数据的局内升级
@@ -200,12 +201,13 @@
                    if (this.eTowerFuntion == ETowerFuntion.BULLET)
                    {
                        BulletUICtl buc = this.placementArea.GetBulletUICtl(gridPosition.x);
                        /*
                        if (buc)
                        {
                            buc.gameObject.SetActive(true);
                            this.bulletCtl = buc;
                            buc.resetToMaxBullet();
                        }
                        }*/
                    }
                }