In this video I demonstrate how to use the new player input components found in Unity’s new Input system to easily configure and implement a split screen multiplayer camera. Also, I demonstrate how to quickly install and configure the new input system and how you can integrate it into your project to support multiple devices and players.
Everything shown in the video can be downloaded from my Github repository so you can follow along, or reference my approach to creating a local co-op system in this project.
Project Link: https://github.com/Srfigie/Unity-3d-TopDownMovement
Start Branch Link: https://github.com/Srfigie/Unity-3d-TopDownMovement/tree/SplitScreen_Start
Solution Branch Link: https://github.com/Srfigie/Unity-3d-TopDownMovement/tree/SplitScreen_Solution
If you liked this video check out my other Unity tutorials mentioned in this video linked below
Top Down Movement: https://www.youtube.com/watch?v=-0GFb9l3NHM
How to make a mini-map in Unity: https://www.youtube.com/watch?v=Rs0gN-Teo-Y
Time Codes:
00:30 Project Overview
03:22 Import & Setup Input System
07:09 Creating Split Screen Character Prefab
09:36 Setting up Multiplayer Input with Split Screen
13:01 Testing Split Screen with 2 players
14:30 Bonus Points – Create a join screen before players join the game
18:58 Clean up runtime errors
22:02 Closing Remarks
Broken Knights Games:
Website: https://brokenknights.com
Twitter: https://twitter.com/Broken_Knights
Instagram: https://www.instagram.com/brokenknightsgames/