RectTransformExtensions.SetTop
Extension Method in RectTransformExtensions
Declaration
public static void SetTop(this RectTransform rect, float top)Description
Sets the top offset of the rect transform to the given value.
Parameters
| rect | The rect transform to update. | 
| top | The top offset value to set. |