RectTransformExtensions.SetAnchorMinX

Extension Method in RectTransformExtensions

Declaration

public static void SetAnchorMinX(this RectTransform rect, float minX)

Description

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

Parameters

rectThe rect transform to update.
minXThe left anchor value to set.