【UGUI】Unity4.6 UI按鈕綁定事件(一)

1、可視化建立及事件綁定 第一步:經過Hierarchy面板建立button,如圖html 第二步:建立一個腳本名爲TestClick,並定義一個名爲Click的public方法學習 ? 1 2 3 4 5 6 7 8 9 10 using UnityEngine; using System.Collections;   public class TestClick : MonoBehaviour
相關文章
相關標籤/搜索