summaryrefslogtreecommitdiff
path: root/Assets/Scripts/CapsuleButton.cs
blob: 9adee0fea3f55bf1d2ebda43907d6769a9ba4000 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;

public class CapsuleButton : MonoBehaviour, IPointerDownHandler, IPointerUpHandler, IPointerClickHandler
{
    public virtual void OnPointerClick(PointerEventData eventData)
    {
        Debug.Log("CapsuleButton.OnPointerClick");
    }

    public virtual void OnPointerUp(PointerEventData eventData)
    {
        Debug.Log("CapsuleButton.OnPointerUp");
    }

    public virtual void OnPointerDown(PointerEventData eventData)
    {
        Debug.Log("CapsuleButton.OnPointerDown");
    }

}