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/Chat/ChatBubbleSelectBehaviour.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/System/Chat/ChatBubbleSelectBehaviour.cs b/System/Chat/ChatBubbleSelectBehaviour.cs
index 14e7bdb..13580c8 100644
--- a/System/Chat/ChatBubbleSelectBehaviour.cs
+++ b/System/Chat/ChatBubbleSelectBehaviour.cs
@@ -75,7 +75,7 @@
if (model.TryGetBubble(id, out bubble))
{
bubbleId = id;
- var config = Config.Instance.Get<ChatBubbleBoxConfig>(bubbleId);
+ var config = ChatBubbleBoxConfig.Get(bubbleId);
m_BubbleName.text = config.Name;
m_Icon.SetSprite(config.Icon);
DisplayState();
@@ -95,7 +95,7 @@
{
var got = model.IsBubbleGot(bubbleId);
m_ContainerUnGet.gameObject.SetActive(!got);
- var config = Config.Instance.Get<ChatBubbleBoxConfig>(bubbleId);
+ var config = ChatBubbleBoxConfig.Get(bubbleId);
if (!got)
{
m_Condition.text = config.GainTip;
--
Gitblit v1.8.0