Пример #1
0
    public void Init(int index, string text, FastReplyLogic parentLogic)
    {
        m_ItemIndex      = index;
        m_ItemStrContent = text;

        if (m_ReplyContent != null)
        {
            if (text != "")
            {
                m_ReplyContent.text = text;
            }
            else
            {
                m_ReplyContent.text = StrDictionary.GetClientDictionaryString("#{3450}");
            }
        }

        m_FastReplyLogic = parentLogic;
    }
Пример #2
0
 public void Init()
 {
     m_Instance = this;
 }
Пример #3
0
 public void OnCloseChat()
 {
     m_Instance = null;
 }
Пример #4
0
 void Awake()
 {
     m_Instance = this;
     InitFastReply();
 }