Tutorial - Easy Split Screen Camera in Unity using the New Input System

preview_player
Показать описание
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.

If you liked this video check out my other Unity tutorials mentioned in this video linked below
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:
Рекомендации по теме
Комментарии
Автор

Great video! Against other splitscreen tutorial videos, yours was clear, concise, and dynamic (others manually chopped the screen into quarters). Looking forward to more from you!

Muninn_Crow
Автор

Hello, would you please provide a tutorial about projecting each splitted screens on a different monitor?

aminhekmatmanesh
Автор

Nice! Is it possible to make it so each player can rotate their camera around the player?

drew
Автор

You should had done this on the other tutorial you did... :( With the character selection screen. I followed that tutorial, but now when I want to change scenes with the splitscreen I can't just put the camera on the character prefab, given that we instantiate a input configuration and not the character prefab itself. To mix the two videos is just impossible. :(
Been stuck on this for a week now and can't figure it out... When switching scenes, only the player 2 goes into the next scene, player 1 stays stuck on the selection screen... :/

PeuVillasBoas
Автор

Nice video. Can the border around the screens be made bigger so they be more distinct?

machineability
Автор

hello.
I am working on app that should record video or take photos using the camera of the device. but i don't know how to make it run in the background over other apps so could help me with that??

kumardhruv