Skip to content

Change UI Size

Change UI Size

This sequential changes the size of a UI element by modifying its sizeDelta property. This is different from Scale Animation because it changes the scale but this changes the size while keeping the scale as it is.

Base Properties

To learn about the common Base Properties, please see Base Sequential

Target Object Options

This sequential derives from Object Returner Sequential and gets all its properties from that sequential. So, to learn about the Target Object Options please see Object Returner Sequential

Animation Options

This sequential derives from Animation Sequential and gets all of its properties. So, to learn about the __Animation Options please see Animation Base

Size Change Type

This option determines the calculation of the end value of the size.

Initial to Value

This resizes the target UI element from its initial value (the value before this sequential starts) to the Size.

From Value to Initial

This sets the size of target UI element to the Size and then changes it to its initial value again.

Initial Plus Value

This adds Size to the target UI element's initial sizeDelta value and changes it to the calculated sizeDelta value.

Initial Multiply Value

This multiplies the UI element's initial sizeDelta value with the Size and changes the target UI element's sizeDelta to the calculated value.

From A to B

This lets you define the starting size and end size of the Change UI Size animation independent from the initial size of the target UI element.

From A to B

Size

This is the Width and Height value that determines the end size in accordance with the Size Change Type option as explained above.

It's possible to assign different kind of values to this property (e.g. directly, randomly, from variable).

Info

To learn more about assigning values with different options, see Value Assign

From Size

This is only available when the Size Change Type is From A to B.

This is the starting size of the Change UI Size animation.