Class UnityEventDrawer
Inheritance
UnityEventDrawer
Assembly: UnityEditor.dll
Syntax
[CustomPropertyDrawer(typeof(UnityEventBase), true)]
public class UnityEventDrawer : PropertyDrawer
Methods
|
Improve this Doc
View Source
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
Returns
Overrides
|
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
Returns
|
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
Overrides
Extension Methods