public override BaseEvent Clone() { TriggerNewbieEquipTick triggerNewbieEquipTick = ClassObjPool <TriggerNewbieEquipTick> .Get(); triggerNewbieEquipTick.CopyData(this); return(triggerNewbieEquipTick); }
protected override void CopyData(BaseEvent src) { base.CopyData(src); TriggerNewbieEquipTick triggerNewbieEquipTick = src as TriggerNewbieEquipTick; this.triggerTimeType = triggerNewbieEquipTick.triggerTimeType; this.bHide = triggerNewbieEquipTick.bHide; }