现在的办法是使用
public void OnPointerExit (PointerEventData eventData)
{
if (eventData.clickCount > 0 && eventData.eligibleForClick) {
ShowCard (0.5f);
}
}
public void OnPointerClick (PointerEventData eventData)
{
ShowCard (0.5f);
}
请问有更好的办法吗