Window Framework for UI Toolkit Scripting v1.3.0
GWG.WindowFramework.Experimental.ClickDetector Class Reference

This is an example of a custom VisualElement that detects click events. Taken from the Unity documentation examples. More...

Inheritance diagram for GWG.WindowFramework.Experimental.ClickDetector:
Collaboration diagram for GWG.WindowFramework.Experimental.ClickDetector:

Public Member Functions

 ClickDetector ()

Private Member Functions

void ProcessEvent< TEvent > (PointerEventBase< TEvent > evt)
void SendClickEvent (IPointerEvent evt)
void StartClickTracking (IPointerEvent evt)
void UpdateClickStatus (IPointerEvent evt)

Detailed Description

This is an example of a custom VisualElement that detects click events. Taken from the Unity documentation examples.

Constructor & Destructor Documentation

◆ ClickDetector()

GWG.WindowFramework.Experimental.ClickDetector.ClickDetector ( )
inline

Member Function Documentation

◆ ProcessEvent< TEvent >()

void GWG.WindowFramework.Experimental.ClickDetector.ProcessEvent< TEvent > ( PointerEventBase< TEvent > evt)
inlineprivate
Type Constraints
TEvent :PointerEventBase<TEvent> 
TEvent :new() 
Here is the call graph for this function:

◆ SendClickEvent()

void GWG.WindowFramework.Experimental.ClickDetector.SendClickEvent ( IPointerEvent evt)
inlineprivate
Here is the caller graph for this function:

◆ StartClickTracking()

void GWG.WindowFramework.Experimental.ClickDetector.StartClickTracking ( IPointerEvent evt)
inlineprivate
Here is the caller graph for this function:

◆ UpdateClickStatus()

void GWG.WindowFramework.Experimental.ClickDetector.UpdateClickStatus ( IPointerEvent evt)
inlineprivate
Here is the caller graph for this function: