Unity Engine documentationScript ReferenceUnityEngineRectIntsizeReturns the width and height of the RectInt.Read time 1 minuteLast updated 4 days agoDefinition Type: Property Namespace: UnityEngine Assembly: UnityEngine.CoreModule public Vector2Int size { get; set; }