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.
Others
T
The class type to inspect for tagged events.

Fields

string DocumentationUrl[Get]
string DocumentationTooltip[Get]

Member Functions

override float GetPropertyHeight
( SerializedProperty property,
GUIContent label )
override void OnGUI
( Rect position,
SerializedProperty property,
GUIContent label )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon