
You can now remove the sphere from the scene, it will just confuse Mirror. We will need the sphere as a prefab for the next steps. Create a Prefab folder under your assets and drag-and-drop the sphere it into it. Then add a Rigidbody component to the Sphere. You can change the Material in the Mesh Renderer component for both the sphere and the table (I set them to “Dirt” and “PlayArea”). Setting up The SceneĪdd a “Cube” to your scene and increase its size to make a table. The goal of the game is to push other spheres down from the table. Other players can see it, and the spheres can hit each other. The GameĮach player receives a “sphere”, and can move on a table. It is free, open-source, and it is actually a fork of UNET, Unity’s own deprecated networking API. Mirror is a networking library, which allows you to easily create multiplayer games in Unity. You can also download the project files from GitHub. We don't use it.In this article, I will show you how to add Mirror to your Unity project, and create a simple multiplayer game.


If you're looking for the process to build content for VRChat on Quest, check out Setting up Unity for Creating Quest Content.

For our first project, we'll assume you're building content for Windows PC.
