chenxin
2020-12-02 cc7ed63c3efab2640c9cc56225519ab187fd7cbc
Assets/Scripts/TowerDefense/Towers/TowerLaunchers/BallisticLauncher.cs
@@ -11,11 +11,6 @@
    public class BallisticLauncher : Launcher
    {
        /// <summary>
        /// The particle system used for providing launch feedback
        /// </summary>
        public GameObject fireParticleObj;
        /// <summary>
        /// Launches a single projectile at a single enemy from a single firing point
        /// </summary>
        /// <param name="enemy">
@@ -38,16 +33,6 @@
                return;
            }
            ballisticProjectile.FireAtPoint(startPosition, enemy.position);
            // 先不适用炮口特效了
            // if (fireParticleObj != null)
            // {
            //     GameObject psObj = Poolable.TryGetPoolable(fireParticleObj);
            //     ParticleSystem ps = psObj.GetComponent<ParticleSystem>();
            //     if (ps == null)
            //         ps = psObj.transform.GetChild(0).GetComponent<ParticleSystem>();
            //     PlayParticles(ps, startPosition, enemy.position);
            // }
        }
    }
}