Skip to content

Change Material Color Sequential

Change Material Color Sequential

This sequential changes the color of a material with animation.

Tip

To simply change the color of a UI Image, Sprite Renderer or TextMeshPro, you can use the Color Change Sequential

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

Material Options

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

Color Change Type

This option determines the calculation of the end color.

Initial to Value

This changes the color of the material from its initial value (the value before this sequential starts) to the Color value.

From Value to Initial

This instantly sets the color of the material to the Color and then modifies it to its initial value again with animation.

Initial Plus Value

This adds Color to the target material's initial color value and changes it to the calculated value.

Initial Multiply Value

This multiplies each component (R,G,B,A) of the material's initial color with the corresponding component of the Color and changes the target material color to the calculated color value.

From A to B

This lets you define the starting color and end color of the animation independent from the initial color of the target material.

Color

This is the Color value that determines the end color in accordance with the Color 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 Color

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

This is the starting color value of the animation.