Details

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

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

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

*without and with 2DxFX Mystic_Distortion


Property

Range

Default

_Alpha 0 to 1 1f
_Pitch 0f to 0.45f 0.45f
_Pitch_Speed 0f to 16f 1.0f
_Pitch_Offset 0f to 1f 0.0f
_OffsetX 0f to 128f 56f
_OffsetY 0f to 128f 28f
_DistanceX 0f to 1f 0.01f
_DistanceY 0f to 1f 0.04f
_WaveTimeX 0f to 6.28f 1.16f
_WaveTimeY 0f to 6.28f 5.12f
AutoPlaySpeedX 0f to 5f 5f
AutoPlaySpeedY 0f to 50f 5f
AutoRandomRange 0f to 50f 10f
Pitch_Wave true or false true
AutoPlayWaveX true or false false
AutoPlayWaveY true or false false
AutoRandom true or false false

Manipulate Mystic_Distortion by script

Example:

// Drag and Drop your Sprite GameObject 
// with the Mystic_Distortion component 
// to your current script on the FX_Standard_Mystic_Distortion field 

public _2dxFX_Mystic_Distortion_Editor FX_Mystic_Distortion; 

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