From 2df58aeacbf1177ec01167bdeccfe89d6a8d5804 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期三, 13 二月 2019 14:20:28 +0800
Subject: [PATCH] 3335 配置表读取重构,修改配置表读取接口1

---
 System/Message/BossNotifyWin.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/System/Message/BossNotifyWin.cs b/System/Message/BossNotifyWin.cs
index 85b572d..8005337 100644
--- a/System/Message/BossNotifyWin.cs
+++ b/System/Message/BossNotifyWin.cs
@@ -97,7 +97,7 @@
             var _skillId = BossNotify.Request();
             if (_skillId != 0)
             {
-                var _bossNotifyCfg = Config.Instance.Get<bossSkillTipsConfig>(_skillId);
+                var _bossNotifyCfg = bossSkillTipsConfig.Get(_skillId);
                 totalTime = (float)_bossNotifyCfg.time / 1000;
                 cacheSkillId = _bossNotifyCfg.SkillID;
                 switch (_bossNotifyCfg.mode)
@@ -153,7 +153,7 @@
             if (BossNotify.constDisplaySkill != 0)
             {
                 m_ContainerType3.gameObject.SetActive(true);
-                var _cfg = Config.Instance.Get<bossSkillTipsConfig>(BossNotify.constDisplaySkill);
+                var _cfg = bossSkillTipsConfig.Get(BossNotify.constDisplaySkill);
                 m_NotifyContent3.text = _cfg.Content;
             }
         }

--
Gitblit v1.8.0