chenxin
2020-11-06 fe4457c2ff07dcea1cccd6886188a334ef9c196b
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.LogError("--------------------- 已发生过碰撞 ---------------------");
                return;
            }
            ballistic.IsHitEnemy = true;
            LazyLoad();