one of my favourite games on tablets is a FPS called Neon Shadow. Anyway it has the option on tablets to be able to play 2 player splitscreen co op and deathmatch with each player controling a character on each end of the tablet. Is it possible to replicate that same splitcreen camera setup in unity buy rotating the camera’s viewport ?
1. Create two cameras
2. Call the first one “Left” or “Player1Camera”.
a) Set rotation on the Z axis to 90°
b) Set viewport rect to (0, 0, 0.5, 0 )
3. Call the 2nd camera “Right” or “Player2Camera”.
a) Set rotation on the Z axis to -90°
b) Set viewport rect to (0.5, 0, 0.5, 0 )
When creating the UI of the players, don’t forget to set the Canvas to Screen space - camera
and drag & drop the appropriate player’s camera.