Details
Add Pixel 8 Bits Black 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 > Pixel 8 Bits Black
4 Gradients is available in Advanced Lightning Mode. Via the Components menu
2DxFX > Advanced Lightning > Pixel 8 Bits Black
Note : Advanced Lightning is not working with the Unity UI Canvas (UI Canvas don't use lightning)
*without and with 2DxFX Pixel 8 Bits Black
Property |
Range |
Default |
---|---|---|
_Alpha | 0 to 1 | 1f |
_Size | 0.01f to 10f | 1f |
_Offset | 0.01f to 10f | 1f |
_Offset2 | 0f to 10f | 1f |
Manipulate Pixel 8 Bits Black by script
Example:
// Drag and Drop your Sprite GameObject
// with the Pixel 8 Bits Black component
// to your current script on the FX_Standard_Pixel8BitsBlack field
public _2dxFX_Pixel8bitsBW_Editor FX_Pixel8BitsBlack;
void Update()
{
FX_Pixel8BitsBlack._Alpha = 1f;
}