Details
Add SkyCloud 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 > SkyCloud
4 Gradients is available in Advanced Lightning Mode. Via the Components menu
2DxFX > Advanced Lightning > SkyCloud
Note : Advanced Lightning is not working with the Unity UI Canvas (UI Canvas don't use lightning)
*without and with 2DxFX SkyCloud
Property |
Range |
Default |
---|---|---|
_Alpha | 0 to 1 | 1f |
Light | -0.5f to 1.5f | 1.0f |
LightSize | 0.05f to 1f | 0.5f |
_Zoom | 0.1f to 2f | 0.2f |
_Intensity | -1 to 1 | 0.3f |
_AutoScrollSpeedX | -2 to 2 | 0.08f |
_AutoScrollSpeedY | -2 to 2 | 0.02f |
UseShinyCurve | 0f to 6.28f | true |
Manipulate SkyCloud by script
Example:
// Drag and Drop your Sprite GameObject
// with the SkyCloud component
// to your current script on the FX_Standard_SkyCloud field
public _2dxFX_SkyCloud_Editor FX_SkyCloud;
void Update()
{
FX_SkyCloud._Alpha = 1f;
}