文档

Unity Engine

Unity Engine

yMin

The minimum Y coordinate of the rectangle.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public float yMin { readonly get; set; }

Remarks

This value is the same as Rect.y, but setting it will resize the rectangle, changing Rect.y and Rect.height to preserve Rect.yMax.