summaryrefslogtreecommitdiff
path: root/Assets/Test/03_CanvasRenderMode/UI03_Cube.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/Test/03_CanvasRenderMode/UI03_Cube.cs')
-rw-r--r--Assets/Test/03_CanvasRenderMode/UI03_Cube.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/Assets/Test/03_CanvasRenderMode/UI03_Cube.cs b/Assets/Test/03_CanvasRenderMode/UI03_Cube.cs
new file mode 100644
index 0000000..82f7398
--- /dev/null
+++ b/Assets/Test/03_CanvasRenderMode/UI03_Cube.cs
@@ -0,0 +1,22 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+using UnityEngine.UI;
+using UnityEngine.EventSystems;
+
+public class UI03_Cube : MonoBehaviour, IPointerClickHandler{
+ public void OnPointerClick(PointerEventData eventData)
+ {
+ Debug.Log("UI03_Cube.OnPointerClick");
+ }
+
+ // Use this for initialization
+ void Start () {
+
+ }
+
+ // Update is called once per frame
+ void Update () {
+
+ }
+}