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