|
Window Framework for UI Toolkit v2.0.x
|
This is an example of a custom VisualElement that detects click events. Taken from the Unity documentation examples. More...


Public Member Functions | |
| ClickDetector () | |
| Registers pointer sequence logging on this experimental element. | |
Private Member Functions | |
| void | ProcessEvent< TEvent > (PointerEventBase< TEvent > evt) |
| void | SendClickEvent (IPointerEvent evt) |
| void | StartClickTracking (IPointerEvent evt) |
| void | UpdateClickStatus (IPointerEvent evt) |
This is an example of a custom VisualElement that detects click events. Taken from the Unity documentation examples.
|
inline |
Registers pointer sequence logging on this experimental element.
Does not implement a retained click result or dispatch a custom click action. The three sequence stages only log messages; use standard controls for application input.
|
inlineprivate |
| TEvent | : | PointerEventBase<TEvent> | |
| TEvent | : | new() |

|
inlineprivate |

|
inlineprivate |

|
inlineprivate |
