Unity Engine documentationScript ReferenceUnityEngineUnityEngine.UIElementsIPointerEventclickCountGets the number of times the button was pressed.Read time 1 minuteLast updated 14 days agoDefinition Type: Property Namespace: UnityEngine.UIElements Assembly: UnityEngine.UIElementsModule int clickCount { get; }