weixudong
2020-12-09 17c6e8b6f2aee4ed9a15c886f54a73f0cb61b125
Assets/Scripts/TowerDefense/Towers/Tower.cs
@@ -88,7 +88,7 @@
        /// <summary>
        /// The current level of the tower
        /// </summary>
        public int currentLevel { get; protected set; }
        public int currentLevel { get; set; }
        protected bool m_bInAttackMode = false;
@@ -335,7 +335,7 @@
            Vector3 pos = tapObj.transform.position;
            pos.x += 5.8f;
            pos.z += 3f;
            pos.y = 15f;
            pos.y = 20f;
            tapObj.transform.position = pos;
            ps?.Play();
        }
@@ -377,6 +377,8 @@
            obj.transform.position = transform.position;
            obj.transform.GetChild(0).GetComponent<ParticleSystem>().Play();
            Destroy(obj, 1.2f);
            AudioSourceManager.Ins.StopBossWaterSkill();
        }
        /// <summary>
@@ -395,6 +397,8 @@
            pos.y += gridPosition.y == 3 ? 2f : 1f;
            bondageObj.transform.position = pos;
            bondageObj.transform.GetChild(0).GetComponent<ParticleSystem>().Play();
            AudioSourceManager.Ins.Play(AudioEnum.BossWaterSkill);
        }
        /// <summary>