This custom property drawer for DialogueTriggerEvent reorders the popup for trigger events. More...
Public Member Functions | |
override void | OnGUI (Rect position, SerializedProperty prop, GUIContent label) |
Static Public Member Functions | |
static int | DialogueTriggerEventToEnumValueIndex (DialogueTriggerEvent trigger) |
static DialogueTriggerEvent | EnumValueIndexToDialogueTriggerEvent (int enumValueIndex) |
static DialogueTriggerEvent | LayoutPopup (string label, DialogueTriggerEvent trigger) |
static bool | IsEnableOrStartEnumIndex (int enumValueIndex) |
This custom property drawer for DialogueTriggerEvent reorders the popup for trigger events.
As the Dialogue System has grown, trigger events were added to the end rather than reordering the enum (which would break serialization in existing projects).
|
static |
|
static |
|
static |
|
static |
override void PixelCrushers.DialogueSystem.DialogueTriggerEventDrawer.OnGUI | ( | Rect | position, |
SerializedProperty | prop, | ||
GUIContent | label | ||
) |