From 05b744225d94df13e8b91c7442440c21515203da Mon Sep 17 00:00:00 2001
From: cehua_ZMY <1417318640@qq.com>
Date: 星期六, 20 四月 2019 20:17:09 +0800
Subject: [PATCH] 12345 第二章前端BOSS

---
 Assets/Editor/ScriptEditor/NewBieGuideEditorWindow.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Assets/Editor/ScriptEditor/NewBieGuideEditorWindow.cs b/Assets/Editor/ScriptEditor/NewBieGuideEditorWindow.cs
index b358545..6628fa5 100644
--- a/Assets/Editor/ScriptEditor/NewBieGuideEditorWindow.cs
+++ b/Assets/Editor/ScriptEditor/NewBieGuideEditorWindow.cs
@@ -4,7 +4,7 @@
 using UnityEditor;
 using Snxxz.UI;
 using UnityEngine.UI;
-using TableConfig;
+
 
 public class NewBieGuideEditorWindow : EditorWindow
 {
@@ -451,10 +451,10 @@
 
     void DrawNewbieGuides()
     {
-        if (Config.Instance.inited && newbieGuides == null)
+        if (ConfigInitiator.done && newbieGuides == null)
         {
             newbieGuides = new List<NewBieGuide>();
-            var guides = Config.Instance.GetAllValues<GuideConfig>();
+            var guides = GuideConfig.GetValues();
             foreach (var config in guides)
             {
                 if (config.Type == 1)
@@ -507,10 +507,10 @@
 
     void DrawFunctionalGuides()
     {
-        if (Config.Instance.inited && functionalGuides == null)
+        if (ConfigInitiator.done && functionalGuides == null)
         {
             functionalGuides = new List<FunctionalGuide>();
-            var guides = Config.Instance.GetAllValues<GuideConfig>();
+            var guides = GuideConfig.GetValues();
             foreach (var config in guides)
             {
                 if (config.Type == 2)

--
Gitblit v1.8.0