Пример #1
0
        public override BaseEvent Clone()
        {
            PlaySubActionEx ex = ClassObjPool <PlaySubActionEx> .Get();

            ex.CopyData(this);
            return(ex);
        }
Пример #2
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            PlaySubActionEx ex = src as PlaySubActionEx;

            this.actionName    = ex.actionName;
            this.pushGameObjs  = ex.pushGameObjs;
            this.pushRefParams = ex.pushRefParams;
            this.subAction     = ex.subAction;
        }