Hello i need to skip a determinate field group in my library. Reason: Cross porting.
One my problem is during deserialization. I Have a Editor and Client.
Editor serialize information, list and graphics component. But the client dont have possibility to deserialize a graphics element,
my code:
 //DirectX Light
 [Serializable]
        public struct _light
        {
            public int id;
            public float Color1;
            public float Color2;
            public float Color3;
            public float Color4;
            public float Power;
            public int decay;
            public float x;
            public float y;
            public float z;
            public bool enabled;
        }
    [Serializable]
            public struct _ev
            {
                public int evntID;
                public int PositionX;
                public int PosotionY;
                public List<string> ComCode;
                public byte[] EventGraphics;
                public List<Graphics.Node> NodeGraph; //Editor only information
                public List<pages> Pages;
                public List<EventItem> Event;
            }
i need to read this field on the Editor and no to Client. But client and Editor use same file for reading information.
Problem are inside to List<Graphics.Node> it's a windows component.
and client cannot read this. Giving me back an exception.
This is a my Simple BluePrint Code Generator
maybe i can skip all field on Client and no to editor. but this struct is a vital for the Editor.
Solution?

 
    