Explorar el Código

Merge branch 'insertcoin' of https://gitee.com/slambb/smart-bow-infrared into insertcoin

slambb hace 1 año
padre
commit
fada463de5

+ 3 - 2
Assets/BowArrow/Scripts/Manager/HomeMgr.cs

@@ -12,7 +12,7 @@ public class HomeMgr : MonoBehaviour
     {
     {
         ins = this;
         ins = this;
         PersistenHandler.Init();
         PersistenHandler.Init();
-        //ViewMgr.Instance.ShowView<TopBarView>();
+        ViewMgr.Instance.ShowView<TopBarView>();
         ViewMgr.Instance.ShowView<HomeView>();
         ViewMgr.Instance.ShowView<HomeView>();
         //ViewMgr.Instance.ShowView<HomeFrameView>();
         //ViewMgr.Instance.ShowView<HomeFrameView>();
         Instantiate(SceneResourceManager.Instance.GetPrefab("DeviceBatteryView"));
         Instantiate(SceneResourceManager.Instance.GetPrefab("DeviceBatteryView"));
@@ -42,9 +42,10 @@ public class HomeMgr : MonoBehaviour
         if (CommonConfig.StandaloneModeOrPlatformB)
         if (CommonConfig.StandaloneModeOrPlatformB)
         {
         {
             DoTweenUtil.CallDelay(0.1f, () => new UserPlayer());
             DoTweenUtil.CallDelay(0.1f, () => new UserPlayer());
-            StandaloneAPI.InitTimeCounter();
         }
         }
         else UserPlayer.ConnectServer();
         else UserPlayer.ConnectServer();
+
+        StandaloneAPI.InitTimeCounter();
     }
     }
 
 
     void OnDestroy()
     void OnDestroy()

+ 5 - 0
ProjectSettings/ProjectSettings.asset

@@ -87,6 +87,11 @@ PlayerSettings:
   hideHomeButton: 0
   hideHomeButton: 0
   submitAnalytics: 1
   submitAnalytics: 1
   usePlayerLog: 1
   usePlayerLog: 1
+  autoStreaming: 0
+  useAnimationStreaming: 0
+  useFontStreaming: 0
+  autoStreamingId: 
+  instantGameAppId: 
   bakeCollisionMeshes: 0
   bakeCollisionMeshes: 0
   forceSingleInstance: 0
   forceSingleInstance: 0
   useFlipModelSwapchain: 1
   useFlipModelSwapchain: 1