示例#1
0
        public override BaseEvent Clone()
        {
            SetTagLayer layer = ClassObjPool <SetTagLayer> .Get();

            layer.CopyData(this);
            return(layer);
        }
示例#2
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            SetTagLayer layer = src as SetTagLayer;

            this.targetId    = layer.targetId;
            this.enableLayer = layer.enableLayer;
            this.layer       = layer.layer;
            this.enableTag   = layer.enableTag;
            this.tag         = layer.tag;
        }