protected override void onSkillTriggerEnter(Collider _collider) { base.onSkillTriggerEnter(_collider); var bsa = _collider.GetComponentInParent <BattleStageActor> (); if (bsa != null) { #if EditorDebug sb.Append("技能 :[" + skillMapId + "]" + "碰撞到目标 [" + bsa.actordata.logName + "] \n"); #endif bool ispass = SkillFilter.SkillBasicFilter(bsa.actordata, skillData.attackerData, skillData.compareContent); if (ispass) { bsa.buffAndSkill.OnSkillEnter(skillData); setState(fireFinish_state); } #if EditorDebug sb.Append(ispass ? "命中有效" : "命中无效"); EditorDebug.Log(sb.ToString()); #endif } }