using UnityEngine.UI;public GameObject 组件名字组件名字.GetComponent<RectTransform>().anchoredPosition = new Vector2(-9999, 9999);