Click or drag to resize
MemberReferenceDrawer Class
Custom editor for selecting a member of a specified source MonoBehaviour attached to a Unity game object.
Inheritance Hierarchy

Namespace: Slash.Unity.Editor.Common.Inspectors.Utils
Assembly: Slash.Unity.Editor.Common (in Slash.Unity.Editor.Common.dll) Version: 0.0.0.0
Syntax
public abstract class MemberReferenceDrawer : PropertyDrawer

The MemberReferenceDrawer type exposes the following members.

Constructors
  NameDescription
Protected methodMemberReferenceDrawer
Initializes a new instance of the MemberReferenceDrawer class
Top
Properties
  NameDescription
Protected propertyMemberProperty
Name of the serialized property that makes up the selected member.
Protected propertySourceProperty
Name of the serialized property that makes up the selected source.
Top
Methods
  NameDescription
Protected methodGetApplicableMembers
Collects a list of members of the target game object that can be selected in the editor.
Public methodGetPropertyHeight
Gets the total height of this editor.
(Overrides PropertyDrawer.GetPropertyHeight(SerializedProperty, GUIContent).)
Public methodOnGUI
Draws the custom editor for selecting a member of a specified source MonoBehaviour attached to a Unity game object.
(Overrides PropertyDrawer.OnGUI(Rect, SerializedProperty, GUIContent).)
Top
See Also