Details

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

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

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

*without and with 2DxFX Liquid


Property

Range

Default

_Alpha 0 to 1 1f
Heat 0.0f to 4f 1.0f
Speed 0.0f to 4f 1.0f
EValue 0.0f to 1f 1.0f
Light -4.0f to 4f 3.0f

Manipulate Liquid by script

Example:

// Drag and Drop your Sprite GameObject 
// with the Liquid component 
// to your current script on the FX_Standard_Liquid field 

public _2dxFX_Liquid_Editor FX_Liquid; 

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