少年修仙传客户端代码仓库
client_linchunjie
2018-11-07 1353fa6afbfbf1f01a745253fa380ffbdb05df3b
System/Chat/ChatBubbleSelectBehaviour.cs
@@ -86,9 +86,8 @@
            ChatBubbleModel.ChatBubble bubble;
            if (model.TryGetBubble(bubbleId, out bubble))
            {
                var reason = 0;
                var got = model.IsBubbleGot(bubbleId, out reason);
                m_ContainerUnGet.gameObject.SetActive(reason != 0 && !got);
                var got = model.IsBubbleGot(bubbleId);
                m_ContainerUnGet.gameObject.SetActive(!got);
                var config = Config.Instance.Get<ChatBubbleBoxConfig>(bubbleId);
                if (!got)
                {
@@ -99,8 +98,7 @@
        private void OnFunc()
        {
            var reason = 0;
            if (model.IsBubbleGot(bubbleId, out reason))
            if (model.IsBubbleGot(bubbleId))
            {
                model.SendUseBubble(bubbleId);
            }