summaryrefslogtreecommitdiff
path: root/Assets/Test/03_CanvasRenderMode/UI03_Cube.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-04-08 18:26:02 +0800
committerchai <chaifix@163.com>2021-04-08 18:26:02 +0800
commit6c0dc6615522a7308fc7457b469521ee82130705 (patch)
treef31a18a4bb614ac6b8902c43324e0577c61cb3af /Assets/Test/03_CanvasRenderMode/UI03_Cube.cs
parentd69611d66431e28ea35477c6781a00d57ae04fa3 (diff)
*canvas update system
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 () {
+
+ }
+}