Hi all,
Is there a way to detect if a button is being pressed on mobile? Unity’s UI buttons call the OnClick events when the button is released.
Hi all,
Is there a way to detect if a button is being pressed on mobile? Unity’s UI buttons call the OnClick events when the button is released.
Never tried it on mobile, but it should work. Look into EventTrigger.
Confirming what @Yoreki says… this is the reference way to do it with UnityEngine.UI.Button objects.