Change Anchors

UI » Change Anchors

Description

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

Parameters

NameDescription

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