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