private void OnSkillContact(SkillContact contact) { if (contact.TargetPid == this.Pid) { this.HP = contact.ContactPos.BloodValue; } }
private void OnSkillContact(SkillContact contact) { if (contact.TargetPid == this.Pid) { Debug.LogFormat("AI:{0} be hit , hp : {1}", this.Pid, contact.ContactPos.BloodValue); this.HP = contact.ContactPos.BloodValue; } }