 | MemberReferenceDrawerOnGUI Method |
Draws the custom editor for selecting a member of a specified source MonoBehaviour attached to a Unity game object.
Namespace: Slash.Unity.Editor.Common.Inspectors.UtilsAssembly: Slash.Unity.Editor.Common (in Slash.Unity.Editor.Common.dll) Version: 0.0.0.0
Syntaxpublic override void OnGUI(
Rect position,
SerializedProperty property,
GUIContent label
)
Public Overrides Sub OnGUI (
position As Rect,
property As SerializedProperty,
label As GUIContent
)
public:
virtual void OnGUI(
Rect position,
SerializedProperty^ property,
GUIContent^ label
) override
abstract OnGUI :
position : Rect *
property : SerializedProperty *
label : GUIContent -> unit
override OnGUI :
position : Rect *
property : SerializedProperty *
label : GUIContent -> unit
Parameters
- position
- Type: Rect
Position to draw the editor at. - property
- Type: SerializedProperty
Property to draw the editor for. - label
- Type: GUIContent
Text to show next to the property editor.
See Also