What is the status of this API. I seem to remember finding a blog posting or two that said this API will be deprecated in the future. Is that the case?
Its not clear if I can use Editor/CustomEditor/OnInspectorGUI to create properties of a MonoBehavior whose editors will be customised, or if this just applies to whole components.
It would be good if CustomEditor could apply to properties of a MonoBehavior.
I am thinking I would like to create a generic curve editor, not related to animation and more like the photoshop levels editor, but I want to be able to have multiple editable curves in a single object.
Does Unity itself use the EditorGUI classes, reflecting over the MonoBehavior to find its properties and display them.
The unity editor iterates over the C+±based serialization, calling into EditorGUI from a huge switch statement. So far, this is not pluggable - and although it would be nice to add, it’s not a high priority for us.
that being said, we are currently working on a generic curve editor so your specific use case will hopefully be solved. We’re focusing on editing animations, but if we have any time left over, a popup curveeditor is next in line.
I’d say just use the existing curve editor from the resources page and then wait for us to do this.