Esempio n. 1
0
    public void OnBtnSendClick()
    {
        // 点击事件
        string text = m_InputView.value;

        if (string.IsNullOrEmpty(text))
        {
            return;
        }
        //  for (int i = 0; i < 100; ++i) {
        ChatDataManager.Instance.AddChat(string.Empty, text, "123");
        m_ChatSize.Add(100);
        m_ChatView.AddItem();
        // }
    }