Details
Add Mystic_Distortion_Additive 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 menu
2DxFX > Standard > Mystic_Distortion_Additive
Note : this effect are not available with advanced Lightning. Because it's obsolete.
*without and with 2DxFX Mystic_Distortion_Additive
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_Additive by script
Example:
// Drag and Drop your Sprite GameObject
// with the Mystic_Distortion_Additive component
// to your current script on the FX_Standard_Mystic_Distortion_Additive field
public _2dxFX_Mystic_Distortion_Additive_Editor FX_Mystic_Distortion_Additive;
void Update()
{
FX_Mystic_Distortion_Additive._Alpha = 1f;
}