Unity Engine documentationScript ReferenceUnityEngineRectIntsizeReturns the width and height of the RectInt.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEngine Assembly: UnityEngine.CoreModule public Vector2Int size { readonly get; set; }