Scripting API

Clickable

class in UnityEngine.UIElements · UnityEngine.UIElementsModule · inherits from PointerManipulator

15 of 15 of Unity's membersUnity's documentation
In Tassix

Clicks on its target: pressing captures the pointer and makes the target :active; releasing over it invokes the click (with a delay and interval, it repeats while held).

Constructors 1

Clickable(Action handler, long delay, long interval)
Clickable(Action<EventBase> handler)
Clickable(Action handler)

Properties 1

Vector2 lastMousePosition { get; }

Events 2

event Action? clicked
event Action<EventBase>? clickedWithEventInfo