From df8c6633500f6c1c752f8a60025cda0e9909644c Mon Sep 17 00:00:00 2001 From: chenxin <chenxin6991@163.com> Date: Thu, 17 Dec 2020 14:53:22 +0800 Subject: [PATCH] Merge branch 'master' of http://47.95.218.140:8090/r/GemBattle into master --- Assets/Scripts/Manager/ManagerRoot.cs | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/Assets/Scripts/Manager/ManagerRoot.cs b/Assets/Scripts/Manager/ManagerRoot.cs index 8271377..cdee2df 100644 --- a/Assets/Scripts/Manager/ManagerRoot.cs +++ b/Assets/Scripts/Manager/ManagerRoot.cs @@ -15,6 +15,13 @@ GameObject root = GameObject.Find("ManagerRoot"); if (root == null) { + if (Application.platform == RuntimePlatform.WindowsEditor || + Application.platform == RuntimePlatform.WindowsPlayer) + { + GameConfig.useSDK = false; + } + Application.targetFrameRate = 60; + //Debug.Log("设置了帧数为60"); DOTween.Init(true, true, LogBehaviour.Verbose).SetCapacity(200, 10); root = new GameObject("ManagerRoot"); -- Gitblit v1.9.1