protected override void CopyData(BaseEvent src) { base.CopyData(src); SkillEnergyCostTriggerTick skillEnergyCostTriggerTick = src as SkillEnergyCostTriggerTick; this.targetId = skillEnergyCostTriggerTick.targetId; }
public override BaseEvent Clone() { SkillEnergyCostTriggerTick skillEnergyCostTriggerTick = ClassObjPool <SkillEnergyCostTriggerTick> .Get(); skillEnergyCostTriggerTick.CopyData(this); return(skillEnergyCostTriggerTick); }