wangguan
2020-12-11 3bf196801c6b59ec05ab0a51f30e6193036ef925
Assets/Scripts/ActionGameFramework/Projectiles/BallisticProjectile.cs
@@ -162,11 +162,13 @@
            m_Fired = true;
            m_CollidersIgnoring.Clear();
            // 因为炮弹没有模型,本身就是一个带碰撞体的粒子特效
            ParticleSystem ps = GetComponent<ParticleSystem>();
            if (ps == null)
                ps = transform.GetChild(0).GetComponent<ParticleSystem>();
            if (ps == null)
                ps = transform.GetChild(0).GetChild(0).GetComponent<ParticleSystem>();
            ps?.Play();
            if (fired != null)