Scripting APIScripting referenceLow-level APIsEngine APIUIButtonVersion: 1.5.0On this pageUnityEngine.UI.Button class UnityEngine.UI.Button Fields and Properties: UnityEngine.UI.Button.ButtonClickedEvent onClick Methods: void OnPointerClick(UnityEngine.EventSystems.PointerEventData) void OnSubmit(UnityEngine.EventSystems.BaseEventData)