Documentation
Ask or search…
K
Links
Comment on page

Creating and joining a lobby

Overview

We have created a very simple lobby so that we can focus on the TNT session set up using the lobby's data storage.

Implementing the lobby

  1. 1.
    Create a GameObject and drag it into the prefab.
  2. 2.
    In the prefab, attach the LobbyRoom.cs script.
  3. 3.
    Enter the maximum players and an ID for other players to find and join the lobby.

Creating a lobby

In the Room scene, fill in the Max Player field.
Click the Create Lobby button.

Joining a lobby

Click the Reload button to refresh the lobbies list.
Click Join once you've selected the desired room.