Split-Screen Config
Split-Screen Config is a scriptable object that allows you to define the split-screen behavior of your project. Whether you want a traditional grid of four or something unique like player one having the whole top half of the screen while the other three players share the bottom.
Layout Settings
Split Direction
- None: Disables split-screen entirely
- Horizontal: Divides screen horizontally (fewer than 4 players)
- Vertical: Divides screen vertically (fewer than 4 players)
Split Screen Area
Defines the base area that will be used for screens.
Screen Configuration
Maintain Aspect Ratio
When active, all player screens will always have equal screen space.
Use Fixed Number Of Screens
When active, you can define a maximum number of screens.
Experimental Feature
This feature is still being tested and may have some issues, such as controlling the character relative to their camera.
Background Color
Defines the color used to fill remaining screen space when the split-screen cameras do not cover the entire viewport.
Dynamic Split-Screen
When active, the Shared Camera will be used if all players are visible to the camera. If not, the players will use their split-screen camera assigned to the Local Player component.
Screen Rectangles
Optionally allows you to explicitly define each player's screen space.