Details

Add Distortion Twist_Square effect to your camera.

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

*without and with Camera Filter Pack Distortion Twist_Square


Property

Range

Default

CenterX -2 to 2 0.5f
CenterY -2 to 2 0.5f
Distortion -3.14f to 3.14f 0.5f
Size -2 to 2 0.25f

Manipulate Distortion Twist_Square by script

Example:

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

public CameraFilterPack_Distortion_Twist_Square: CamFX_Distortion_Twist_Square; 

void Update() 
{
	CamFX_Distortion_Twist_Square.CenterX =  0.5f;
}