Show / Hide Table of Contents

Class UnityEventDrawer

Inheritance
Object
GUIDrawer
PropertyDrawer
UnityEventDrawer
Inherited Members
PropertyDrawer.attribute
PropertyDrawer.fieldInfo
PropertyDrawer.CanCacheInspectorGUI(SerializedProperty)
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEditorInternal
Assembly: UnityEditor.dll
Syntax
[CustomPropertyDrawer(typeof(UnityEventBase), true)]
public class UnityEventDrawer : PropertyDrawer

Methods

| Improve this Doc View Source

DrawEventHeader(Rect)

Declaration
protected virtual void DrawEventHeader(Rect headerRect)
Parameters
Type Name Description
Rect headerRect
| Improve this Doc View Source

GetPropertyHeight(SerializedProperty, GUIContent)

Declaration
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
Parameters
Type Name Description
SerializedProperty property
GUIContent label
Returns
Type Description
Single
Overrides
PropertyDrawer.GetPropertyHeight(SerializedProperty, GUIContent)
| Improve this Doc View Source

IsPersistantListenerValid(UnityEventBase, String, Object, PersistentListenerMode, Type)

Declaration
public static bool IsPersistantListenerValid(UnityEventBase dummyEvent, string methodName, Object uObject, PersistentListenerMode modeEnum, Type argumentType)
Parameters
Type Name Description
UnityEventBase dummyEvent
String methodName
Object uObject
PersistentListenerMode modeEnum
Type argumentType
Returns
Type Description
Boolean
| Improve this Doc View Source

OnGUI(Rect)

Declaration
public void OnGUI(Rect position)
Parameters
Type Name Description
Rect position
| Improve this Doc View Source

OnGUI(Rect, SerializedProperty, GUIContent)

Declaration
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
Type Name Description
Rect position
SerializedProperty property
GUIContent label
Overrides
PropertyDrawer.OnGUI(Rect, SerializedProperty, GUIContent)

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX