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

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

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

*without and with 2DxFX PlasmaRainbow




_Alpha 0 to 1 1f
_Colors 0.1f to 8f 6f
_Offset 0.1f to 4f 2.5f
Speed 0 to 3 1

Manipulate PlasmaRainbow by script


// Drag and Drop your Sprite GameObject 
// with the PlasmaRainbow component 
// to your current script on the FX_Standard_PlasmaRainbow field 

public _2dxFX_PlasmaRainbow_Editor FX_PlasmaRainbow; 

void Update() 
	FX_PlasmaRainbow._Alpha =  1f;