예제 #1
0
    // 채팅 elem 생성
    void Create_ChatElement(User_Chat recieveChat, bool isSendmsg)
    {
        UIItem_ChatElement item = UI_Manager.Getsingleton.CreatUI(UIITEM.ITEM_CHATELEMENT, Tr_context) as UIItem_ChatElement;

        item.Set_ElementInfo(recieveChat, isSendmsg, true);

        Lst_chatElement.Add(item);

        //Apply_ChatContent();
    }
    // 채팅 elem 생성
    void Create_ChatElement(User_Chat recieveChat)
    {
        //채팅 갯수 체크후 삭제
        Chk_removeChatElement();

        UIItem_ChatElement item = UI_Manager.Getsingleton.CreatUI(UIITEM.ITEM_CHATELEMENT, Tr_chatContent) as UIItem_ChatElement;

        item.Set_ElementInfo(recieveChat, true, false);
        Lst_chatElement.Add(item);

        //Apply_ChatContent();
    }
예제 #3
0
 public void Remove_Element(UIItem_ChatElement chatEle)
 {
     Lst_chatElement.Remove(chatEle);
 }