From 69bfdba542771981367ccad20316866bee3a5599 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期四, 14 二月 2019 13:04:57 +0800
Subject: [PATCH] 3335 配置表读取重构.
---
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