Details
Add Waterfall 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 > Waterfall
Note : this effect are not available with advanced Lightning. Because it's obsolete.
*without and with 2DxFX Waterfall
Property |
Range |
Default |
---|---|---|
_Alpha | 0 to 1 | 1f |
Liquid | 0.0f to 2f | 1.0f |
Speed | -2.0f to 4f | 1.0f |
EValue | -2f to 2f | -0.65f |
TValue | -2f to 2f | 0.6f |
Light | -1f to 1f | 0.5f |
LightColor | 0f to 1f | new Color(0.2f,0.5f,1,1) |
Manipulate Waterfall by script
Example:
// Drag and Drop your Sprite GameObject
// with the Waterfall component
// to your current script on the FX_Standard_Waterfall field
public _2dxFX_Waterfall_Editor FX_Waterfall;
void Update()
{
FX_Waterfall._Alpha = 1f;
}