- Home /
Role Game Online (Using PUN)
Hi guys, I hope u can help me, Im new with Photon Unity Networking.
Im trying to make a game where every player has one role, and those roles also can be good or evil.
One of this players will be the "king" (first turn will be random, next turn will be next player) and he has to choose players to form a team.
When the king forms a team, all players have to vote if they approve the team or not.
All players are listed into a vertical layout group, and if u are the king, u can click on players to add or remove them from the team. If player is on team his nickname color changes to yellow else if he is the king his color is orange.
I used playerNumbering utility script to asign a number (role) to each player.
And Im having trouble synchronizing data between players.