Beispiel #1
0
        public override BaseEvent Clone()
        {
            PlaySubAction action = ClassObjPool <PlaySubAction> .Get();

            action.CopyData(this);
            return(action);
        }
Beispiel #2
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            PlaySubAction action = src as PlaySubAction;

            this.actionName    = action.actionName;
            this.gameObjectIds = action.gameObjectIds;
            this.gameObjects   = action.gameObjects;
            this.subAction     = action.subAction;
        }