using System.Collections; using System.Collections.Generic; using UnityEngine; public class GridLayoutGroupSet : MonoBehaviour { [ContextMenu("Test")] public void Test() { RectTransform rt = gameObject.GetComponent(); Debug.Log(rt.sizeDelta); //Debug.Log(rt.offsetMax); //Debug.Log(rt.GetParentSize()); } }