public override BaseEvent Clone() { PlaySubActionEx ex = ClassObjPool <PlaySubActionEx> .Get(); ex.CopyData(this); return(ex); }
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; }