Details
Add Shiny Reflect 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 > Shiny Reflect
4 Gradients is available in Advanced Lightning Mode. Via the Components menu
2DxFX > Advanced Lightning > Shiny Reflect
Note : Advanced Lightning is not working with the Unity UI Canvas (UI Canvas don't use lightning)
*without and with 2DxFX Shiny Reflect
Property |
Range |
Default |
---|---|---|
_Alpha | 0 to 1 | 1f |
Light | -0.5f to 1.5f | 1.0f |
LightSize | 0.05f to 1f | 0.5f |
AnimationSpeedReduction | 0 to 32 | 3f |
Intensity | 0f to 2f | 1.0f |
OnlyLight | 0f to 1f | 0.0f |
LightBump | -1f to 1f | 0.05f |
UseShinyCurve | 0f to 6.28f | true |
Manipulate Shiny Reflect by script
Example:
// Drag and Drop your Sprite GameObject
// with the Shiny Reflect component
// to your current script on the FX_Standard_ShinyReflect field
public _2dxFX_Shiny_Reflect_Editor FX_ShinyReflect;
void Update()
{
FX_ShinyReflect._Alpha = 1f;
}