Details
Add Distortion ShockWave effect to your camera.
Add it to the Camera GameObject via the Components menu
CameraFilterPack > Distortion > ShockWave
*without and with Camera Filter Pack Distortion ShockWave
Property |
Range |
Default |
---|---|---|
PosX | -1.5f to 1.5f | 0.5f |
PosY | -1.5f to 1.5f | 0.5f |
Speed | 0f to 10f | 1f |
Manipulate Distortion ShockWave by script
Example:
// Drag and Drop your Camera GameObject
// with the Distortion ShockWave component
// to your current script on the CamFX_Distortion_ShockWave field
public CameraFilterPack_Distortion_ShockWave CamFX_Distortion_ShockWave;
void Update()
{
CamFX_Distortion_ShockWave.PosX = 0.5f;
}