Let's jump right in and make our own multiplayer demo project. For instructional purposes, we'll start out with a very simple scene with a standard first-person camera and get the networking implemented. Then, we'll synchronize multiple players' avatars over the network. And then we'll share a game object, a bouncy ball, between players to play a game.
Setting up a simple scene
Creating a scene environment
To get set up, we will make a new scene with a ground plane and a cube and create a basic first-person character. Perform the following steps:
- Create a new scene by navigating to File | New Scene. Then, File | Save Scene As... and name the scene MultiPlayer.
- Remove the Main Camera and insert a copy...