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

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

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

*without and with 2DxFX SandFX




_Alpha 0 to 1 1f
Sand 0.001f to 1f 1.0f

Manipulate SandFX by script


// Drag and Drop your Sprite GameObject 
// with the SandFX component 
// to your current script on the FX_Standard_SandFX field 

public _2dxFX_SandFX_Editor FX_SandFX; 

void Update() 
	FX_SandFX._Alpha =  1f;