From 6c0dc6615522a7308fc7457b469521ee82130705 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 8 Apr 2021 18:26:02 +0800 Subject: *canvas update system --- Assets/Test/03_CanvasRenderMode/UI03_Cube.cs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Assets/Test/03_CanvasRenderMode/UI03_Cube.cs (limited to 'Assets/Test/03_CanvasRenderMode/UI03_Cube.cs') 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 () { + + } +} -- cgit v1.1-26-g67d0