clickable
Clickable MouseManipulator for this Button.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public Clickable clickable { get; set; }
Remarks
The default Clickable object provides a list of actions that are called using one or more activation filters.
To add or remove activation triggers, modify clickable.activators. An activation trigger can be any mouse button, pressed any number of times, with any modifier key.
Additional Resources: ManipulatorActivationFilter
myButton.clickable.activators.Add(new ManipulatorActivationFilter(...))
myButton.clickable.activators.Clear()