FirstModulAR 0.1.0
Loading...
Searching...
No Matches
FMAR.UI.Widgets.Keyboard.UpDownButton Class Reference

A custom button that triggers actions on pointer down and pointer up events. More...

Inheritance diagram for FMAR.UI.Widgets.Keyboard.UpDownButton:

Public Member Functions

override void OnPointerDown (PointerEventData eventData)
 Called when the pointer is pressed down on the button.
 
override void OnPointerUp (PointerEventData eventData)
 Called when the pointer is released from the button.
 

Public Attributes

Action onPointerDown
 Action to be invoked when the pointer is pressed down.
 
Action onPointerUp
 Action to be invoked when the pointer is released.
 

Detailed Description

A custom button that triggers actions on pointer down and pointer up events.

Member Function Documentation

◆ OnPointerDown()

override void FMAR.UI.Widgets.Keyboard.UpDownButton.OnPointerDown ( PointerEventData eventData)
inline

Called when the pointer is pressed down on the button.

Parameters
eventDataPointer event data.

◆ OnPointerUp()

override void FMAR.UI.Widgets.Keyboard.UpDownButton.OnPointerUp ( PointerEventData eventData)
inline

Called when the pointer is released from the button.

Member Data Documentation

◆ onPointerDown

Action FMAR.UI.Widgets.Keyboard.UpDownButton.onPointerDown

Action to be invoked when the pointer is pressed down.

◆ onPointerUp

Action FMAR.UI.Widgets.Keyboard.UpDownButton.onPointerUp

Action to be invoked when the pointer is released.


The documentation for this class was generated from the following file: