skip to Main Content

Scripting Support (C#)

You can change any SplitScreenManager property using scripting through the SplitScreenManager instance. Example:

SplitScreenManager.instance.cameraVerticalRotation = 15;

SplitScreenManager.instance.cameraDistance = 40;

SplitScreenManager.instance.player1 = <my player1 transform>

SplitScreenManager.instance.mainCamera = <my camera>

SplitScreenManager.instance.splitLineColor = Color.blue;

(any property on the SplitScreenManager inspector can be set this way)

Back To Top