Add EdgeColor 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 > EdgeColor

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

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

*without and with 2DxFX EdgeColor




_Alpha 0 to 1 1f
_Color 0f to 128f new Color (0f, 1f, 1f, 1f)

Manipulate EdgeColor by script


// Drag and Drop your Sprite GameObject 
// with the EdgeColor component 
// to your current script on the FX_Standard_EdgeColor field 

public _2dxFX_EdgeColor_Editor FX_EdgeColor; 

void Update() 
	FX_EdgeColor._Alpha =  1f;