Getting my PlayerID

I know you can select players by joining order with PhotonNetwork.PlayerList() and do something with that..
But how do I get my ID exactly?

I am making a cardgame and I want to know the first player that joined. So that player can play his turn first.

Thanks in advance!


  • you can use PhotonNetwork.LocalPlayer.ActorNumber to get the current player id.