public override BaseEvent Clone() { BattleUiSwitcherTick tick = ClassObjPool <BattleUiSwitcherTick> .Get(); tick.CopyData(this); return(tick); }
protected override void CopyData(BaseEvent src) { base.CopyData(src); BattleUiSwitcherTick tick = src as BattleUiSwitcherTick; this.bOpenOrClose = tick.bOpenOrClose; this.bIncludeBattleUi = tick.bIncludeBattleUi; this.bIncludeBattleHero = tick.bIncludeBattleHero; this.bIncludeFpsForm = tick.bIncludeFpsForm; }