Change Size

UI » Change Size

Description

Changes the size delta of a UI rect transform over time

Parameters

Name
Description

Rect Transform

The game object with rect transform component to change

Change

The operation performed to modify the new value

Width

The new width value. Also known as sizeDelta.x

Height

The new height value. Also known as sizeDelta.y

Duration

How long it takes to perform the transition

Easing

The change rate of the translation over time

Time

Whether to use game time or unscaled time during transition

Wait To Complete

Whether to wait until the translation is finished or not

Keywords

UI, Width, Height, Rect

Last updated