Unity Ugui EventListen (事件侦听)
1.添加Button(Script)
Using UnityEngine.UI; RectTransfrom reT = GetComponent<RectTransfrom>(); reT.sizeDelta = new Vector2(50, 50); //对应width,height
momo按钮事件侦听: http://www.xuanyusong.com/archives/3325
1.添加Button(Script)
Using UnityEngine.UI; RectTransfrom reT = GetComponent<RectTransfrom>(); reT.sizeDelta = new Vector2(50, 50); //对应width,height
momo按钮事件侦听: http://www.xuanyusong.com/archives/3325