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

rectThe rect transform to update.
rightThe right offset value to set.