예제 #1
0
        public override BaseEvent Clone()
        {
            SetPathVisibility visibility = ClassObjPool <SetPathVisibility> .Get();

            visibility.CopyData(this);
            return(visibility);
        }
예제 #2
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            SetPathVisibility visibility = src as SetPathVisibility;

            this.enabled          = visibility.enabled;
            this.excludeMeshes    = visibility.excludeMeshes;
            this.excludeMeshNames = visibility.excludeMeshNames;
            this.objPath          = visibility.objPath;
        }