Browse Source

修改ernieBot打开的调用位置

蓝色星空 1 year ago
parent
commit
2b68c32a8a
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Assets/Scripts/UI/GameManager.cs

+ 1 - 2
Assets/Scripts/UI/GameManager.cs

@@ -311,7 +311,6 @@ public class GameManager : MonoSingleton<GameManager>
         m_SettingPanel.gameObject.SetActive(true);
         m_EditorPanel.Init();
         m_SettingPanel.Init();
-        ernieBot.SetActive(true);
         if (RouteCtr.CurrentPoints.Count > 0)
         {
             Player.MovePoints = RouteCtr.CurrentPoints;
@@ -331,7 +330,7 @@ public class GameManager : MonoSingleton<GameManager>
         InitCrystals();
         InitBoxColliders();
 
-        
+        ernieBot.SetActive(true);
     }