Hello. OnPointerDown is working well, but OnPointerUp has no effect. I have no idea what`s the problem. Maybe its a bug.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class Click : MonoBehaviour, IPointerDownHandler, IPointerUpHandle
{
// Start is called before the first frame update
public void OnPointerDown(PointerEventData eventData)
{
Debug.Log("Pointer Down");
}
public void OnPointerUp(PointerEventData eventData)
{
Debug.Log("Pointer Up");
}
}