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

Options
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. I 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.

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @Phoenix286991,

    Thank you for choosing Photon!

    What you are referring to as "Photon 2" is actually "PUN 2" or "Photon Unity Networking 2".
    It's the second major version of "PUN".

    I recommend that you go through the "PUN Basics Tutorial".

    Maybe what you need is network instantiation of player objects, see documentation here.