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