How do I fetch Region Whitelist using PUN2 and Unity
Options
Hello Community.
I've been using PUN2 for the last couple of days and I must say this product will be very useful for my upcoming project but I do have a (for the moment) question about the Region Whitelist Option in the portal.
Is there any way to fetch this information using PUN2 and Unity?
I've been using PUN2 for the last couple of days and I must say this product will be very useful for my upcoming project but I do have a (for the moment) question about the Region Whitelist Option in the portal.
Is there any way to fetch this information using PUN2 and Unity?
0
Comments
-
When you connect in PUN 2, the region list gets fetched automatically. If you let PUN 2 connect to the "Best Region", it will ping the (whitelisted) regions and connect to the one with lowest ping. That's typically the simplest option. Aside from that, have a look at PhotonNetwork.Connect* methods.
Here's some more:
https://doc.photonengine.com/en-us/pun/v2/getting-started/initial-setup1