Details
Add Split Screen SideBySide effect to your camera.
Add it to the Camera GameObject via the Components menu
CameraFilterPack > Split Screen > SideBySide
Property |
Range |
Default |
---|---|---|
SwitchCameraToCamera2 | 0f to 1f | 0f |
BlendFX | 0f to 1f | 1f |
SplitX | -3f to 3f | 0.5f |
SplitY | -3f to 3f | 0.5f |
Smooth | 0f to 2f | 0.1f |
Rotation | -3.14f to 3.14f | 3.14f |
Manipulate Split Screen SideBySide by script
Example:
// Drag and Drop your Camera GameObject
// with the Split Screen SideBySide component
// to your current script on the CamFX_Split Screen_SideBySide field
public CameraFilterPack_Blend2Camera_SplitScreen CamFX_SplitScreen_SideBySide;
void Update()
{
CamFX_SplitScreen_SideBySide.SwitchCameraToCamera2 = 0f;
}