From 5bbcb15dc081ede6e6d390c81e7ec64901a1988a Mon Sep 17 00:00:00 2001
From: cehua_Czg <tingame100@163.com>
Date: 星期一, 22 四月 2019 16:30:34 +0800
Subject: [PATCH] 6666 第一章NPC配置
---
Assets/Editor/ScriptEditor/NewBieGuideEditorWindow.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Assets/Editor/ScriptEditor/NewBieGuideEditorWindow.cs b/Assets/Editor/ScriptEditor/NewBieGuideEditorWindow.cs
index 6b03857..6628fa5 100644
--- a/Assets/Editor/ScriptEditor/NewBieGuideEditorWindow.cs
+++ b/Assets/Editor/ScriptEditor/NewBieGuideEditorWindow.cs
@@ -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