Change Anchors

UI ยป Change Anchors

Description

Changes the anchors of the rect transform of the UI game object

Parameters

Name
Description

Rect Transform

The game object with rect transform component to change

Min

A vector2 that will be set to anchors min of rect transform

Max

A vector2 that will be set to anchors max of rect transform

Keywords

UI, Rect

Last updated

Was this helpful?