Details

Add ColorChange effect to your Sprite Renderer and Unity UI Canvas Image.

Add it to the Sprite Renderer or Unity UI Canvas Image GameObject via the Components menu2DxFX > Standard > ColorChange

4 Gradients is available in Advanced Lightning Mode. Via the Components menu2DxFX > Advanced Lightning > ColorChange

Note : Advanced Lightning is not working with the Unity UI Canvas (UI Canvas don't use lightning)

*without and with 2DxFX ColorChange


Property

Range

Default

_Alpha 0 to 1 1f
_Tolerance 0 to 1 1f
_HueShift 0 to 360 180f
_Saturation -2 to 2 1f
_ValueBrightness -2 to 2 1f
_Color / new Color (0f, 1f, 1f, 1f)

Manipulate ColorChange by script

Example:

// Drag and Drop your Sprite GameObject 
// with the ColorChange component 
// to your current script on the FX_Standard_ColorChange field 

public _2dxFX_ColorChange_Editor FX_ColorChange; 

void Update() 
{
	FX_ColorChange._Alpha =  1f;
}