Added regions for joining a node from LB

This commit is contained in:
Derek S 2021-04-09 09:29:16 -05:00
parent c5c2750334
commit a9844c616a

View file

@ -25,6 +25,7 @@ namespace LightReflectiveMirror
using (UnityWebRequest webRequest = UnityWebRequest.Get(url))
{
// Request and wait for the desired page.
webRequest.SetRequestHeader("x-Region", ((int)region).ToString());
yield return webRequest.SendWebRequest();
var result = webRequest.downloadHandler.text;
#if UNITY_2020_1_OR_NEWER