Hi guys… I have a game played for 2 players (1vs1) what I want is when a player says play, the opponent will call while searching for another player to match the two of them or any two players, and then they start the match, can I do this with PUN2 or try other ways need?
Yes, PUN 2 has matchmaking built in.
You can use the ConnectAndJoinRandom script to do this. Make sure to set the MaxPlayer value to 2 and you’re good.
1 Like
this is good thanks
Can I use the rock paper demo in pun 1 in pun 2 to get some examples and adapt it to my own game?
You can adapt it, yes. You’d follow the Migration Notes mostly to get it carried over.
1 Like