- Home /
Question by
dustxx · Sep 25, 2015 at 12:32 PM ·
c#guiserializationeditor windoweditor scripting
How can you put a serializable object in an editor window?
When you have a serializable object as a serialized field of a monobehavior the inspector automatically shows all of the object's fields with their appropriate types and lets you fill them in. Is there any way to achieve something like this in an editor window or do I have to manually create fields for each property? It would be nice to automatically draw fields based on the serializable object's fields so I wouldn't have to change the GUI each time I changed the object it's editing.
Comment