Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


yMin

The minimum Y coordinate of the rectangle.
Read time 1 minuteLast updated 4 days ago

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.