Details
Add PlasmaShield 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 > PlasmaShield4 Gradients is available in Advanced Lightning Mode. Via the Components menu
2DxFX > Advanced Lightning > PlasmaShieldNote : Advanced Lightning is not working with the Unity UI Canvas (UI Canvas don't use lightning)
*without and with 2DxFX PlasmaShield
Property |
Range |
Default |
|---|---|---|
| _Alpha | 0 to 1 | 1f |
| _Offset | 0.1f to 4f | 2.5f |
| Speed | 0 to 3 | 1 |
| _ColorX | -3 to 3 | new Color (1f, 1f, 1f, 1f) |
Manipulate PlasmaShield by script
Example:
// Drag and Drop your Sprite GameObject
// with the PlasmaShield component
// to your current script on the FX_Standard_PlasmaShield field
public _2dxFX_PlasmaShield_Editor FX_PlasmaShield;
void Update()
{
FX_PlasmaShield._Alpha = 1f;
}