public override BaseEvent Clone() { EnableSoldierLineTick enableSoldierLineTick = ClassObjPool <EnableSoldierLineTick> .Get(); enableSoldierLineTick.CopyData(this); return(enableSoldierLineTick); }
protected override void CopyData(BaseEvent src) { base.CopyData(src); EnableSoldierLineTick enableSoldierLineTick = src as EnableSoldierLineTick; this.bEnable = enableSoldierLineTick.bEnable; }