UPF/Assets/Mirror/Examples/Basic
2023-02-24 22:14:55 +05:30
..
Prefabs Apple sign in 2023-02-24 22:14:55 +05:30
Scenes Apple sign in 2023-02-24 22:14:55 +05:30
Scripts Apple sign in 2023-02-24 22:14:55 +05:30
Prefabs.meta Apple sign in 2023-02-24 22:14:55 +05:30
README.md Apple sign in 2023-02-24 22:14:55 +05:30
README.md.meta Apple sign in 2023-02-24 22:14:55 +05:30
Scenes.meta Apple sign in 2023-02-24 22:14:55 +05:30
Scripts.meta Apple sign in 2023-02-24 22:14:55 +05:30

Basic Example

This is a bare bones example of a running game with Network Manager and UI prefab players:

  1. Remove all scenes from Build Settings, then add the Example scene alone.

  2. Open the Example scene and build the project.

  3. 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.
  4. Run one or more instances (up to 16 total players) of the built application.

  5. Click Client on each instance.

  6. Now you will see all players in the editor and the clients, all with data being updated and synchronized.