API reference
API reference
Select your platform
No SDKs available
No versions available

EventPropertyDrawer Class

Extends PropertyDrawer
Draws a dropdown of categories of events denoted with the EventCategory attribute, followed by a dropdown of events of those categories, with the ability to add an action handler for the any selected event. All this is wrapped in an 'Events' foldout.

Fields

DocumentationTooltip : string
Signature
virtual string Meta.WitAi.Events.Editor.EventPropertyDrawer< T >.DocumentationTooltip
DocumentationUrl : string
Signature
virtual string Meta.WitAi.Events.Editor.EventPropertyDrawer< T >.DocumentationUrl

Methods

GetPropertyHeight ( property , label )
Signature
override float Meta.WitAi.Events.Editor.EventPropertyDrawer< T >.GetPropertyHeight(SerializedProperty property, GUIContent label)
Parameters
property: SerializedProperty
label: GUIContent
Returns
override float
OnGUI ( position , property , label )
Signature
override void Meta.WitAi.Events.Editor.EventPropertyDrawer< T >.OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
position: Rect
property: SerializedProperty
label: GUIContent
Returns
override void