ClickEvent (Class)

Event fired when a click is detected in the area of an UI element.

Properties

Property Description Type
source The GameObject where the event was originated GameObject
position The current screen coordinates of the pointer Vector2

Remarks

Events of this type are managed by the On Click program.