Default Editor for classes utilizing ExposedMemberAttributes.
Derive your own editor from his class and assign it the CustomEditor attribute, to automatically create an editor-inspector that shows all the ExposedMembers in the target object.
Additional functionality can be added by overriding the virtual functions defined in this class. (Just make sure to call the base version also.)
Public Member Functions | |
override void | OnInspectorGUI () |
Updates the serializedObject and exposes all the properties in the exposedObjectProperties member. Then applies changes to the target object. | |
Protected Member Functions | |
virtual void | OnEnable () |
Initializes the exposedObjectProperties member, with the current target object. | |
Protected Attributes | |
ExposedObjectMembers | exposedObjectProperties |
This member stores the exposed properties for the target object. | |