CallbackOptions
Extra properties that can be used in CallbackEventHandler.RegisterCallback.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Enum
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
[Flags]public enum CallbackOptions
Fields
Value | Description |
|---|---|
| Default | No option enabled. |
| IncludeDisabled | Callback executes on disabled target even if the event has _ignoreDisabledElements. |
| Once | Callback is unregistered automatically after being successfully executed. |
| Removable | Callback can be unregistered with CallbackEventHandler.UnregisterAllRemovableCallbacks(). |
| TrickleDown | Callback reacts during the TrickleDown phase. If not set, callback reacts during the BubbleUp phase. |