一言加载中...
1234
rectTransform.anchorMin = new Vector2(0.5f, 0.5f);rectTransform.anchorMax = new Vector2(0.5f, 0.5f);rectTransform.sizeDelta = new Vector2(100, 100);rectTransform.anchoredPosition = new Vector2(10, 3);