How to assign players to Game Objects? (Photon 2)

Hello. I am new to using Photon 2 and trying to understand it’s documentation still. Right now I have it set up where there is a lobby, and all players can connect to it. And they are able to all proceed to the next scene. Now however I want to assign those players to Game Objects so they can actually start playing the game. I’ve tried a few things, like assigning the elements from PlayerList to these Game Objects but that does not seem to work. Hope for a reply soon to solve this problem. Thanks.

P.S I’m trying to make a card game with 4 players, and the Game Objects I want to assign the players too are their deck of cards where they can access their own U.Is and such.

1 Like

The best way to get started, is to do the Basics Tutorial first. This shows you a simple setup for matchmaking, gets players into rooms and shows how to instantiate objects that are networked with the PhotonView component.

The player who instantiates some object, will have control. You need to adjust the controllers, to handle input only for objects you control. This should be a good first step.