摘要:
public class L17 : MonoBehaviour,IDragHandler { public Image img; // Start is called before the first frame update void Start() { //使用遮罩 //在父对象上挂载Mask 阅读全文
posted @ 2025-04-05 21:10
cannedmint
阅读(40)
评论(0)
推荐(0)
摘要:
public class L16 : MonoBehaviour { public EventTrigger EventTrigger; // Start is called before the first frame update void Start() { //使用事件触发器 //1.拖脚本 阅读全文
posted @ 2025-04-05 17:55
cannedmint
阅读(6)
评论(0)
推荐(0)
摘要:
public class L15 : MonoBehaviour { // Start is called before the first frame update void Start() { //常用事件接口 //IPointerEnterHandler - OnPointerEnter 指针 阅读全文
posted @ 2025-04-05 17:32
cannedmint
阅读(13)
评论(0)
推荐(0)
摘要:
public class L14 : MonoBehaviour { // Start is called before the first frame update void Start() { //相关参数 //Caption Text 关联显示当前选择内容的文本组件 //Item Text 关 阅读全文
posted @ 2025-04-05 11:56
cannedmint
阅读(24)
评论(0)
推荐(0)
摘要:
public class L13 : MonoBehaviour { // Start is called before the first frame update void Start() { //滑动块相关参数 //Size滑动块在条中的比例大小 //监听事件的两种方法 //1.拖脚本 //2 阅读全文
posted @ 2025-04-05 11:44
cannedmint
阅读(29)
评论(0)
推荐(0)
摘要:
public class L12 : MonoBehaviour { // Start is called before the first frame update void Start() { //代码控制 Slider s=GetComponent<Slider>(); print(s.val 阅读全文
posted @ 2025-04-05 09:58
cannedmint
阅读(5)
评论(0)
推荐(0)

浙公网安备 33010602011771号