Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


yMin

The minimal y point of the box.
Read time 1 minuteLast updated 4 days ago

Definition

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

Remarks

Only points with a y component greater than or equal to this value are contained in the box.
Sets the minimum value of BoundsInt's y point. If you enter a minimum value that is greater than the current maximum value, then the entered value becomes the new maximum value and the previous maximum value becomes the new minimum value. The position and size of the BoundsInt is then adjusted based on the new minimum and maximum values.