|
@@ -2,6 +2,7 @@ using Immersal.AR;
|
|
|
using UnityEngine;
|
|
|
using Blue;
|
|
|
using UnityEngine.UI;
|
|
|
+using static IsLocation;
|
|
|
|
|
|
|
|
|
|
|
@@ -39,8 +40,8 @@ public class ImmersalLocalControl : AbstractController
|
|
|
if(isOn)
|
|
|
{
|
|
|
|
|
|
- Y_Location_Toggle.isOn = true;
|
|
|
XRLocalizer.enabled = true;
|
|
|
+ SetLocalTime.isFind = true;
|
|
|
|
|
|
Y_Location_Toggle.transform.Find("Background").GetComponent<Image>().color = blue;
|
|
|
Y_Location_Toggle.transform.Find("Background/Checkmark").GetComponent<Image>().color = blue;
|
|
@@ -49,7 +50,6 @@ public class ImmersalLocalControl : AbstractController
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- N_Location_Toggle.isOn = true;
|
|
|
XRLocalizer.enabled = false;
|
|
|
|
|
|
Y_Location_Toggle.transform.Find("Background").GetComponent<Image>().color = white;
|