onButtonClicked
Callback triggered when the action button is clicked.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Event
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public event Action onButtonClicked
Remarks
Provide a callback to automatically create a Button if none exists, or update the button's callback.
Clickable.clicked