Make a Queue System using Photon

Is there a tutorial or an example code of a queue system using photon? I wanted the player to wait in queue while the game finds a game and connect to it.

We suggest to use “Random Matchmaking” as described here:

The script ConnectAndJoinRandom.cs is a simple implementation which you can experiment with.