RectTransformExtensions.SetHeight

Extension Method in RectTransformExtensions

Declaration

public static void SetHeight(this RectTransform rect, float height)

Description

Sets the height of the rect transform to the given value.

Parameters

rectThe rect transform to update.
heightThe height value to set.