How do I get the current player's region?

Options
I have the region set to 'Best' in PhotonServer settings. So it finds the best region for the player.
All good, but now how do I get the player's region in my C# code? I want to display it somewhere.

Thanks

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @Meltdown,

    In PUN 1.82+ you can get the current player's region using PhotonNetwork.CloudRegion.
  • DKReigns
    Options
    JohnTube said:

    Hi @Meltdown,

    In PUN 1.82+ you can get the current player's region using PhotonNetwork.CloudRegion.

    Thanks a lot!