RectTransformExtensions
Static Class in Zigurous.UI
Declaration
public static class RectTransformExtensions
Description
Extension methods for RectTransform.
Extension Methods
GetWorldRect | |
SetWidth | Sets the width of the rect transform to the given value. |
SetHeight | Sets the height of the rect transform to the given value. |
SetLeft | Sets the left offset of the rect transform to the given value. |
SetRight | Sets the right offset of the rect transform to the given value. |
SetTop | Sets the top offset of the rect transform to the given value. |
SetBottom | Sets the bottom offset of the rect transform to the given value. |
SetAnchorMinX | Sets the left anchor of the rect transform to the given value. |
SetAnchorMinY | Sets the bottom anchor of the rect transform to the given value. |
SetAnchorMaxX | Sets the right anchor of the rect transform to the given value. |
SetAnchorMaxY | Sets the top anchor of the rect transform to the given value. |