chenxin
2020-11-06 893f645dafa46b818a2edb9fa40337af0c3598d6
Assets/Scripts/ActionGameFramework/Health/DamageCollider.cs
@@ -54,6 +54,16 @@
            var agent = this.gameObject.GetComponent<Agent>();
            if (agent == null)
                return;
            BallisticProjectile ballistic = c.gameObject.GetComponent<BallisticProjectile>();
            if (ballistic.IsHitEnemy)
            {
                Debug.Log("--------------------- 已发生过碰撞 ---------------------");
                return;
            }
            ballistic.IsHitEnemy = true;
            LazyLoad();