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

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

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

*without and with 2DxFX Fire




_Alpha 0 to 1 1f
_Value1 64 to 256 64
_Value2 0 to 2 1
_Value3 0 to 1 1
_Value4 0f to 1f 1.0f
_Value5 0 to 10 0.0f
AutoPlaySpeedY 0f to 50f 5f
AutoRandomRange 0f to 50f 10f

Manipulate Fire by script


// Drag and Drop your Sprite GameObject 
// with the Fire component 
// to your current script on the FX_Standard_Fire field 

public _2dxFX_Fire_Editor FX_Fire; 

void Update() 
	FX_Fire._Alpha =  1f;