using UnityEngine.UI;
public GameObject 组件名字
组件名字.GetComponent<RectTransform>().anchoredPosition = new Vector2(-9999, 9999);
using UnityEngine.UI;
public GameObject 组件名字
组件名字.GetComponent<RectTransform>().anchoredPosition = new Vector2(-9999, 9999);
本文标题:unity用代码移动UGUI里的物件坐标
本文链接:https://www.haomeiwen.com/subject/ffrjuftx.html
网友评论