| | |
| | | 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)
|
| | | {
|
| | |
| | |
|
| | | private void OnFunc()
|
| | | {
|
| | | var reason = 0;
|
| | | if (model.IsBubbleGot(bubbleId, out reason))
|
| | | if (model.IsBubbleGot(bubbleId))
|
| | | {
|
| | | model.SendUseBubble(bubbleId);
|
| | | }
|