Details

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

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

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

*without and with 2DxFX DesintegrationFX


Property

Range

Default

_Alpha 0 to 1 1f
Seed 0 to 1 1.0f
Desintegration 0 to 1 0.5f
_Color -2 to 2 new Color (0f, 1f, 1f, 1f)

Manipulate DesintegrationFX by script

Example:

// Drag and Drop your Sprite GameObject 
// with the DesintegrationFX component 
// to your current script on the FX_Standard_DesintegrationFX field 

public _2dxFX_DesintegrationFX_Editor FX_DesintegrationFX; 

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