Assets/Scripts/ActionGameFramework/Projectiles/BallisticProjectile.cs
@@ -36,8 +36,6 @@ /// </summary> protected Collider[] m_Colliders; public bool IsHitEnemy { get; set; } public event Action fired; /// <summary> @@ -165,11 +163,12 @@ m_CollidersIgnoring.Clear(); IsHitEnemy = false; // 因为炮弹没有模型,本身就是一个带碰撞体的粒子特效 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)