Basic Example
This is a bare bones example of a running game with Network Manager and UI prefab players:
-
Remove all scenes from Build Settings, then add the Example scene alone.
-
Open the Example scene and build the project.
-
In the editor, click Play, and Server + Client or Server Only...it will be listening on port 7777.
- If you clicked Host (Server + Client), the host player will appear as Player 00.
-
Run one or more instances (up to 16 total players) of the built application.
-
Click Client on each instance.
-
Now you will see all players in the editor and the clients, all with data being updated and synchronized.