Added regions for joining a node from LB
This commit is contained in:
parent
c5c2750334
commit
a9844c616a
1 changed files with 1 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ namespace LightReflectiveMirror
|
||||||
using (UnityWebRequest webRequest = UnityWebRequest.Get(url))
|
using (UnityWebRequest webRequest = UnityWebRequest.Get(url))
|
||||||
{
|
{
|
||||||
// Request and wait for the desired page.
|
// Request and wait for the desired page.
|
||||||
|
webRequest.SetRequestHeader("x-Region", ((int)region).ToString());
|
||||||
yield return webRequest.SendWebRequest();
|
yield return webRequest.SendWebRequest();
|
||||||
var result = webRequest.downloadHandler.text;
|
var result = webRequest.downloadHandler.text;
|
||||||
#if UNITY_2020_1_OR_NEWER
|
#if UNITY_2020_1_OR_NEWER
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue