ZepetoScreenButton
ZEPETO.Character.Controller.ZepetoScreenButton
Class designed to handle button interactions in the ZEPETO environment.
Hierarchy
↳
ZepetoScreenButton
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
Name | Type | Description |
---|---|---|
$eventData | PointerEventData | Data 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
Name | Type | Description |
---|---|---|
$eventData | PointerEventData | Data related to the pointer up event. |
Returns
void