Creating a chat client

We're going to put what we've learned about Photon to use, creating a chat client from scratch. Players can choose from a list of running chatrooms, create a new chatroom, or join a random chatroom (if there are none available, one is created). While in a chatroom, players can chat with everybody in the chatroom. From the main menu, players can also manage a list of "friends" (they can add and remove names). They can see the online states of each friend, as well as join friends if they are in a room.

The Connect screen

The first screen the user is presented with is the Connect screen.

The Connect screen

Here, they enter their username and connect ...

Get Unity Multiplayer Games now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.