Details

Add Distortion Flag effect to your camera.

Add it to the Camera GameObject via the Components menuCameraFilterPack > Distortion > Flag

*without and with Camera Filter Pack Distortion Flag


Property

Range

Default

Distortion 0 to 2 1.0f

Manipulate Distortion Flag by script

Example:

// Drag and Drop your Camera GameObject 
// with the Distortion Flag component 
// to your current script on the CamFX_Distortion_Flag field 

public CameraFilterPack_Distortion_Flag CamFX_Distortion_Flag; 

void Update() 
{
	CamFX_Distortion_Flag.Distortion =  1.0f;
}