RectTransformExtensions.SetAnchorMaxY

Extension Method in RectTransformExtensions

Declaration

public static void SetAnchorMaxY(this RectTransform rect, float maxY)

Description

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

Parameters

rectThe rect transform to update.
maxYThe top anchor value to set.