Details
Add Blend 2 Camera PinLight effect to your camera.
Add it to the Camera GameObject via the Components menu
CameraFilterPack > Blend 2 Camera > PinLight
Property |
Range |
Default |
---|---|---|
SwitchCameraToCamera2 | 0f to 1f | 0f |
BlendFX | 0f to 1f | 0.5f |
Manipulate Blend 2 Camera PinLight by script
Example:
// Drag and Drop your Camera GameObject
// with the Blend 2 Camera PinLight component
// to your current script on the CamFX_Blend 2 Camera_PinLight field
public CameraFilterPack_Blend2Camera_PinLight CamFX_Blend2Camera_PinLight;
void Update()
{
CamFX_Blend2Camera_PinLight.SwitchCameraToCamera2 = 0f;
}