Details
Add WaterAndBackground 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 > WaterAndBackground
Note : this effect are not available with advanced Lightning. Because it's obsolete.
*without and with 2DxFX WaterAndBackground
Property |
Range |
Default |
---|---|---|
_Alpha | 0 to 1 | 1f |
Heat | 0.0f to 4f | 1.0f |
Speed | 0.0f to 4f | 1.0f |
EValue | 0.0f to 1f | 1.0f |
Light | -4.0f to 4f | 3.0f |
Manipulate WaterAndBackground by script
Example:
// Drag and Drop your Sprite GameObject
// with the WaterAndBackground component
// to your current script on the FX_Standard_WaterAndBackground field
public _2dxFX_WaterAndBackground_Editor FX_WaterAndBackground;
void Update()
{
FX_WaterAndBackground._Alpha = 1f;
}