clickable
Clickable MouseManipulator for this Button.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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()