Esempio n. 1
0
        public override BaseEvent Clone()
        {
            BattleUiSwitcherTick tick = ClassObjPool <BattleUiSwitcherTick> .Get();

            tick.CopyData(this);
            return(tick);
        }
Esempio n. 2
0
        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;
        }