Details

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

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

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

*without and with 2DxFX Ghost


Property

Range

Default

_Alpha 0 to 1 1f
_offset 0f to 1f 0.4f
_ClipLeft 0f to 1f 0.4f
_ClipRight 0f to 1f 0.2f
_ClipUp 0f to 1f 0.1f
_ClipDown 0f to 1f 0.5f

Manipulate Ghost by script

Example:

// Drag and Drop your Sprite GameObject 
// with the Ghost component 
// to your current script on the FX_Standard_Ghost field 

public _2dxFX_Ghost_Editor FX_Ghost; 

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