From 67ee17292855d8ce2e077bea2f86113adadf839c Mon Sep 17 00:00:00 2001 From: wangguan <wangguan@kt007.com> Date: Wed, 16 Dec 2020 11:26:28 +0800 Subject: [PATCH] 修改编辑器模式下不走SDK流程 修改新手引导血条显示层级 --- Assets/Scripts/Manager/ManagerRoot.cs | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/Assets/Scripts/Manager/ManagerRoot.cs b/Assets/Scripts/Manager/ManagerRoot.cs index 8271377..400b5c1 100644 --- a/Assets/Scripts/Manager/ManagerRoot.cs +++ b/Assets/Scripts/Manager/ManagerRoot.cs @@ -15,6 +15,12 @@ GameObject root = GameObject.Find("ManagerRoot"); if (root == null) { + if (Application.platform == RuntimePlatform.WindowsEditor || + Application.platform == RuntimePlatform.WindowsPlayer) + { + GameConfig.useSDK = false; + } + DOTween.Init(true, true, LogBehaviour.Verbose).SetCapacity(200, 10); root = new GameObject("ManagerRoot"); -- Gitblit v1.9.1