Details

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

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

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

*without and with 2DxFX StoneFX


Property

Range

Default

_Alpha 0 to 1 1f
IntoStone 0 to 1 1.0f
Deep 0 to 1 1.0f

Manipulate StoneFX by script

Example:

// Drag and Drop your Sprite GameObject 
// with the StoneFX component 
// to your current script on the FX_Standard_StoneFX field 

public _2dxFX_StoneFX_Editor FX_StoneFX; 

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