Browse Source

去除 2.0 同步位置

DGJ 1 năm trước cách đây
mục cha
commit
6fcf0fded9
2 tập tin đã thay đổi với 4 bổ sung3 xóa
  1. 1 0
      Assets/Scripts/PlayerTrigger.cs
  2. 3 3
      ProjectSettings/ProjectSettings.asset

+ 1 - 0
Assets/Scripts/PlayerTrigger.cs

@@ -75,6 +75,7 @@ public class PlayerTrigger : MonoBehaviour
                 float y = transform.localPosition.z / GameManager.Instance.MapSize.y * GameManager.Instance.WebMapSize.y;
                 var pos = new Vector3(x, -y, 0);
 
+                if(!UserInfo.Instance.is20)
                 HttpSocket.Instance.SendIpToPointPos(pos, (message) =>
                 {
                     //Debug.Log(message);

+ 3 - 3
ProjectSettings/ProjectSettings.asset

@@ -924,6 +924,7 @@ PlayerSettings:
   metroSplashScreenUseBackgroundColor: 1
   platformCapabilities:
     WindowsStoreApps:
+      EnterpriseAuthentication: False
       OfflineMapsManagement: False
       HumanInterfaceDevice: False
       Location: False
@@ -935,7 +936,6 @@ PlayerSettings:
       PrivateNetworkClientServer: False
       InternetClientServer: False
       VideosLibrary: False
-      BackgroundMediaPlayback: False
       Objects3D: False
       RemoteSystem: False
       BlockedChatMessages: False
@@ -957,10 +957,10 @@ PlayerSettings:
       PointOfService: False
       RecordedCallsFolder: False
       Contacts: False
-      InternetClient: True
       Proximity: False
+      InternetClient: True
       CodeGeneration: False
-      EnterpriseAuthentication: False
+      BackgroundMediaPlayback: False
   metroTargetDeviceFamilies:
     Desktop: False
     Holographic: False