weixudong
2020-12-09 17c6e8b6f2aee4ed9a15c886f54a73f0cb61b125
Assets/Scripts/TowerDefense/Towers/Projectiles/ContactDestroyer.cs
@@ -90,6 +90,8 @@
            ParticleSystem ps = gameObject.GetComponent<ParticleSystem>();
            if (ps == null)
                ps = gameObject.transform.GetChild(0).GetComponent<ParticleSystem>();
            if (ps == null)
                ps = transform.GetChild(0).GetChild(0).GetComponent<ParticleSystem>();
            ps?.Stop();
            Poolable.TryPool(gameObject);
        }