Skip to main content

ZepetoScreenButton

ZEPETO.Character.Controller.ZepetoScreenButton

Class designed to handle button interactions in the ZEPETO environment.

Hierarchy

Constructors

constructor

new ZepetoScreenButton()

Overrides

ZepetoScreenControl.constructor

Properties

OnPointDownEvent

OnPointDownEvent: UnityEvent

Event triggered when the button is pressed down.


OnPointUpEvent

OnPointUpEvent: UnityEvent

Event triggered when the button is released.

Methods

OnPointerDown

OnPointerDown($eventData): void

Handles events when the user presses a UI control.

Parameters

NameTypeDescription
$eventDataPointerEventDataData related to the pointer down event.

Returns

void

Inherited from

ZepetoScreenControl.OnPointerDown


OnPointerUp

OnPointerUp($eventData): void

Handles events when the user releases a UI control.

Parameters

NameTypeDescription
$eventDataPointerEventDataData related to the pointer up event.

Returns

void

Inherited from

ZepetoScreenControl.OnPointerUp