Photon Unity Networking
About
This is a small technical example of multiplayer using Photon Unity Networking (PUN) taught by Zenva Academy.
The host will spawn with the ball, the ball swaps players on collision with another.
The game ends when a player has had possession of the ball for 30 seconds.
---------- Step by step process on how to create and join a lobby(room) ----------
1. At first you are presented with 2 input fields for your 'player name' and 'room name'
2. Enter a 'player name' and 'room name'
3. Click create room if you are creating a new room. Click join room if you are joining an existing room
4. There is no interface for open rooms so you must tell other players the room name or get the room name from other players.
5. Once in the lobby only the host will be able to click the 'start game' button