Details
Add Frozen 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 > Frozen4 Gradients is available in Advanced Lightning Mode. Via the Components menu
2DxFX > Advanced Lightning > FrozenNote : Advanced Lightning is not working with the Unity UI Canvas (UI Canvas don't use lightning)
*without and with 2DxFX Frozen
Property |
Range |
Default |
|---|---|---|
| _Alpha | 0 to 1 | 1f |
| _Value1 | 0 to 1 | 0.5f |
| _Value2 | 0 to 1 | 1 |
| _Value3 | 0 to 1 | 1 |
| _Value4 | 0f to 1f | 1.0f |
| _Value5 | 0 to 10 | 0.0f |
| AutoPlaySpeedY | 0f to 50f | 5f |
| AutoRandomRange | 0f to 50f | 10f |
Manipulate Frozen by script
Example:
// Drag and Drop your Sprite GameObject
// with the Frozen component
// to your current script on the FX_Standard_Frozen field
public _2dxFX_Frozen_Editor FX_Frozen;
void Update()
{
FX_Frozen._Alpha = 1f;
}