[Pun2] How can I check connected Region server currently?

Options
Pukins
Pukins
edited December 2019 in Tutorials and Code Sharing
when I ConnectUsingSettings();
it seems connect any region server automatically, right?
then is there any way to get string or something which region connected?

(off course, if client connects specific region using "FixedRegion"
it does not necessary to know what current Region is.)

I am implementing "changing server region in game"
and I want to show "currently connected region" before changing it.

Best Answers

  • Pukins
    Pukins
    edited December 2019 Answer ✓
    Options
    Oh

    it was so easy one.

    what ever "FixedRegion" value is,
    after automatically connect or non-automatically connect,
    FixedRegion of PhotonServerSettings has changed to current Region
  • Pukins
    Pukins
    Answer ✓
    Options
    PhotonNetwork.CloudRegion

Answers

  • Pukins
    Pukins
    edited December 2019 Answer ✓
    Options
    Oh

    it was so easy one.

    what ever "FixedRegion" value is,
    after automatically connect or non-automatically connect,
    FixedRegion of PhotonServerSettings has changed to current Region
  • Pukins
    Pukins
    Answer ✓
    Options
    PhotonNetwork.CloudRegion