Details

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

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

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

*without and with 2DxFX Ice


Property

Range

Default

_Alpha 0 to 1 1f
_Value1 16 to 256 64
_Value2 0 to 2 1
_Value3 0 to 1 1
AutoPlaySpeedY 0f to 50f 5f
AutoRandomRange 0f to 50f 10f

Manipulate Ice by script

Example:

// Drag and Drop your Sprite GameObject 
// with the Ice component 
// to your current script on the FX_Standard_Ice field 

public _2dxFX_Ice_Editor FX_Ice; 

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