Unity Engine documentationScript ReferenceUnityEngineRectIntcenterCenter coordinate of the rectangle.阅读时间1 分钟最后更新于 2 个月前Definition Type: Property Namespace: UnityEngine Assembly: UnityEngine.CoreModule public readonly Vector2 center { get; }