set player id before join room

hi everybody, i want to set player id befor join but i cant.
how i can do it?
for name is really easy. i use this code
PhotonNetwork.playerName = nickName;
but icant set id !!


  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @shahab,

    Player ID is relevant only inside a room after you join it. It is the Actor Number inside the room.

    In case you need to set UserID which something else, you can do so using the property with the same name.