public override BaseEvent Clone()
        {
            SetVisibility setVisibility = ClassObjPool <SetVisibility> .Get();

            setVisibility.CopyData(this);
            return(setVisibility);
        }
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            SetVisibility setVisibility = src as SetVisibility;

            this.enabled          = setVisibility.enabled;
            this.excludeMeshes    = setVisibility.excludeMeshes;
            this.excludeMeshNames = setVisibility.excludeMeshNames;
            this.targetId         = setVisibility.targetId;
        }