public void RefreshChangeTap() { HideLockMessage(); _chatScrollView.transform.localPosition = _scrollPosition; _chatPanel.clipOffset = _panelOffset; _tableChatPanel.transform.DestroyChildren(); _tableChatPanel.transform.localPosition = _tablePosition; _tableChatPanel.CreateScrollView <ChatDetailItem>(_chatTemplate, chatDataList, _chatInfoItems, this); }
private void InitRefreshChatPanel() { _chatScrollView.transform.localPosition = _scrollPosition; _chatScrollPanel.clipOffset = _panelOffset; _tableChatPanel.transform.DestroyChildren(); _tableChatPanel.transform.localPosition = _tablePosition; _tableChatPanel.CreateScrollView <ChatInfoItem>(_textTemplate, _chatDataList, _chatInfoItems, this); HideLockMessage(); }
public void DeleteItem <T>(TableItemList <T> items) where T : TableBaseItem { if (_datas == null) { return; } if (_datas.Count <= 0) { return; } //没满就重写构造这个grid if (_datas.Count < itemCount) { _table.CreateScrollView <T>(gameObject, _datas, items, parentUI); } else { UpdateItem(); } }
private void RefreshTextList() { m_table.CreateScrollView <ChatItem>(m_template, m_history, m_tableList, this); }