Skip to content

Change Color Sequential

Change Color Sequential

This sequential changes the color of a game object with animation.

Tip

For changing the color of a gameobject that's not possible with this sequential, you can use the Change Material Color 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

Color Change Type

This option determines the calculation of the end color.

Initial to Value

This changes the color of the target transform 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 target transform to the Color and then modifies it to its initial value again with animation.

Initial Plus Value

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

Initial Multiply Value

This multiplies each component (R,G,B,A) of the transform's initial color with the corresponding component of the Color and changes the target transform 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 transform.

From A to B

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.

Component Type

Because not all game objects have Color property, this sequential needs some specific types of target objects to work properly.

So, the target object needs to be one of the types below and you need to choose the correct type for this property:

UI_Image

This is the UI Image component.

That means, it expects the target object to be UI Image component.

Sprite Renderer

This is the Sprite Renderer component.

That means, it expects the target object to be a Sprite Renderer component.

TMP_Text

This is the TextMeshPro component.

That means, it expects the target object to be TextMeshPro component.

Warning

To use TextMeshPro in Sequentior, you need to setup it as explained here