Creating a local multiplayer game on Unity — Device management [Part 2/2]

Опубликовано: 12 Июнь 2026
на канале: TUTO UNITY FR
445
35

In this second episode, we're improving our local multiplayer system in Unity 6 with the Player Input component and the PlayerInputManager.

Each player joins automatically with their own peripherals (keyboard or controller) without any hardwiring. We're also taking this opportunity to replace the fixed camera with a dynamic camera that tracks the center of both players in real time.

📥 Episode scripts: https://gist.github.com/TUTOUNITYFR/a...

🎮 Add my game to your Steam wishlist: https://store.steampowered.com/app/25...

☕ Support the channel / Donate
on Tipeee: https://www.tipeee.com/tuto-unity-fr
on YouTube:    / @tutounityfr  

🗂️ Summary
0:00 Introduction
0:32 Creating the player prefab
3:14 Adapting the input actions
5:12 Creating the PlayerManager
6:05 Testing the system
6:50 Monitoring the Camera

10:00 Final test

10:42 A sequel?

·· ... on your purchases. For you, it's neither cheaper nor more expensive; see it as a way to support me indirectly without spending a penny!

👉 Twitter / X:   / tutounityfr  
👉 Facebook:   / tutounityfr  
👉 Discord: https://www.tutounity.fr/discord

⚗️ Secondary Channel (ZEF LAB):    / @zeflab  

· ... Didn't get the same result? You probably missed a step! Replay the video and pay attention to the details. Join the Discord server for help.

· ...