public void OnTriggerStay(Collider other) { if (OnTriggerExitEvt != null) { OnTriggerStayEvt.Invoke(other.gameObject); } }
public void OnTriggerEnter(Collider other) { if (OnTriggerEnterEvt != null) { OnTriggerEnterEvt.Invoke(other.gameObject); } }
public void OnPointerExit(PointerEventData eventData) { if (OnMouseExitEvt != null) { OnMouseExitEvt.Invoke(gameObject); } }
public void OnPointerDown(PointerEventData eventData) { if (OnMouseDownEvt != null) { OnMouseDownEvt.Invoke(gameObject); } }
public void OnPointerClick(PointerEventData eventData) { if (OnClickOnceEvt != null) { OnClickOnceEvt.Invoke(gameObject); OnClickOnceEvt = null; } if (OnClickEvt != null) { OnClickEvt.Invoke(gameObject); } }