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