Details
Add Distortion BlackHole effect to your camera.
Add it to the Camera GameObject via the Components menu
CameraFilterPack > Distortion > BlackHole
*without and with Camera Filter Pack Distortion BlackHole
Property |
Range |
Default |
---|---|---|
PositionX | -1 to 1 | 0f |
PositionY | -1 to 1 | 0f |
Size | -5 to 5 | 0.05f |
Distortion | 0 to 180 | 30f |
Manipulate Distortion BlackHole by script
Example:
// Drag and Drop your Camera GameObject
// with the Distortion BlackHole component
// to your current script on the CamFX_Distortion_BlackHole field
public CameraFilterPack_Distortion_BlackHole CamFX_Distortion_BlackHole;
void Update()
{
CamFX_Distortion_BlackHole.PositionX = 0f;
}