Details
Add Distortion Twist effect to your camera.
Add it to the Camera GameObject via the Components menu
CameraFilterPack > Distortion > Twist
*without and with Camera Filter Pack Distortion Twist
Property |
Range |
Default |
---|---|---|
CenterX | -2 to 2 | 0.5f |
CenterY | -2 to 2 | 0.5f |
Distortion | -3.14f to 3.14f | 1.0f |
Size | -2 to 2 | 1f |
Manipulate Distortion Twist by script
Example:
// Drag and Drop your Camera GameObject
// with the Distortion Twist component
// to your current script on the CamFX_Distortion_Twist field
public CameraFilterPack_Distortion_Twist: CamFX_Distortion_Twist;
void Update()
{
CamFX_Distortion_Twist.CenterX = 0.5f;
}