RectTransformExtensions.SetLeft

Extension Method in RectTransformExtensions

Declaration

public static void SetLeft(this RectTransform rect, float left)

Description

Sets the left offset of the rect transform to the given value.

Parameters

rectThe rect transform to update.
leftThe left offset value to set.