Details

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

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

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

*without and with 2DxFX CircleFade


Property

Range

Default

_Alpha 0 to 1 1f
_Offset -0.2f to 1f 0.2f
_InOut -10 to 10 0

Manipulate CircleFade by script

Example:

// Drag and Drop your Sprite GameObject 
// with the CircleFade component 
// to your current script on the FX_Standard_CircleFade field 

public _2dxFX_CircleFade_Editor FX_CircleFade; 

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