Details
Add Slim 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 > Slim
4 Gradients is available in Advanced Lightning Mode. Via the Components menu
2DxFX > Advanced Lightning > Slim
Note : Advanced Lightning is not working with the Unity UI Canvas (UI Canvas don't use lightning)
*without and with 2DxFX Slim
Property |
Range |
Default |
---|---|---|
_Alpha | 0 to 1 | 1f |
TurnToLiquid | 0f to 1f | 0.052f |
Heat | 0.0f to 1f | 1.0f |
Speed | 0.0f to 4f | 1.0f |
EValue | 0.0f to 1f | 1.0f |
Light | -4.0f to 4f | 3.0f |
Manipulate Slim by script
Example:
// Drag and Drop your Sprite GameObject
// with the Slim component
// to your current script on the FX_Standard_Slim field
public _2dxFX_Slim_Editor FX_Slim;
void Update()
{
FX_Slim._Alpha = 1f;
}