Change Player's Turn

Hello !
I'm developing a card game with Unity and Photon. When the room has more than 1 Player the game automatically start and every player gets cards. When it is the player's turn then two buttons activated and they can choose to bet or to finish.
How to make it turn based?
i would appreciate any help.

Comments

  • Hi @liorium,

    I would recommend you taking a look at the PunTurnManager which is included in the package from the Asset Store. You can either use this one or take at least a look at its source code to get the idea how you can get your game logic working. It is located in Assets\Photon Unity Networking\UtilityScripts\.