Details

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

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

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

*without and with 2DxFX Smoke


Property

Range

Default

_Alpha 0 to 1 1f
_Value1 64 to 256 64
_Value2 0 to 1 1
_Value3 0 to 1 1
EValue 0.0f to 1f 1.0f
Light 0 to 10 3.0f
UseShinyCurve 0f to 6.28f true
_Color1 0f to 5f new Color (1f, 0f, 1f, 1f)
_Color2 0f to 50f new Color (1f, 1f, 1f, 1f)

Manipulate Smoke by script

Example:

// Drag and Drop your Sprite GameObject 
// with the Smoke component 
// to your current script on the FX_Standard_Smoke field 

public _2dxFX_Smoke_Editor FX_Smoke; 

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