DefaultExposedMemberEditor Class Reference

Default Editor for classes utilizing ExposedMemberAttributes.

Detailed Description

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.

using UnityEditor;
using UnityEngine;
{
[CustomEditor(typeof(Rank))]
public class RankEditor : DefaultExposedMemberEditor
{
}
}

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.
 
+ Inheritance diagram for DefaultExposedMemberEditor:
+ Collaboration diagram for DefaultExposedMemberEditor:
EyE
This namespace contains classes that provide various tools for use in the Unity Editor.
Definition: EmbededXMLTooltip.cs:5
EyE.Unity.Examples
Definition: CatDebugExample.cs:7
EyE.Unity
This namespace holds classes that extended or inherit from various Unity defined classes....
Definition: EmbededXMLTooltip.cs:5
EyEengines.EditorUnity.Examples
Definition: RankEditor.cs:6
EyE.EditorUnity
This namespace is used to provide a User Interface, in Unity's Editor, for various library classes....
Definition: ExtractEyeEnginesLogo.cs:6