I have problem with IPointerClickHandler, everything works fine in editor, but on android device,
eventData.clickCount value always return 1.
Am I do wrong? Or there is different with mobile device?
public class AvailableObj : MonoBehaviour, IPointerClickHandler {
public void OnPointerClick(PointerEventData eventData){
int tapCount;
tapCount = eventData.clickCount;
if (tapCount == 2){
//do something
}
}
}