Local Multiplayer for mirror

Unity

Published: 5/19/2022

LocalMP for Mirror is a template for creating online multiplayer games that also have local multiplayer functionality (split-screen). It is based on the Unity Input System which allows managing multiple local players, each local player is synced through the network and a sample game is provided based on Mirror's Room example game. The asset provides a simple UI to check which players have joined, how many local players per machine are available, and options to remove local players and kick players. It also provides a UI that checks each local player's score as an example on how to get information regarding the players in-game. This asset requires Mirror and the Unity Input System.

Technical Details

Splitscreen and non-splitscreen local multiplayer support using the new Unity Input System. Room/Lobby system that allows managing local players. The code is documented so it's easy to expand on it. Modular design, easy to customize.