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/ChatBubbleBehaviour.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/System/Chat/ChatBubbleBehaviour.cs b/System/Chat/ChatBubbleBehaviour.cs
index bb24d78..05558d6 100644
--- a/System/Chat/ChatBubbleBehaviour.cs
+++ b/System/Chat/ChatBubbleBehaviour.cs
@@ -101,7 +101,7 @@
m_Flip.flipHorizontal = requireFlip;
m_Target.color = bubble.color;
- var config = Config.Instance.Get<ChatBubbleBoxConfig>(bubbleId);
+ var config = ChatBubbleBoxConfig.Get(bubbleId);
var position = rect.anchoredPosition;
position.y = -config.top;
if (rect.anchoredPosition != position)
--
Gitblit v1.8.0