Files
JJBB/Assets/Project/Script/GUI/Chat/ChatInputHistoryItem.cs

35 lines
677 B
C#
Raw Normal View History

2024-08-23 15:49:34 +08:00
using UnityEngine;
using UnityEngine.UI;
using System;
using System.Collections;
using System.Collections.Generic;
using Games.ChatHistory;
using GCGame.Table;
using Games.GlobeDefine;
using GCGame;
using Module.Log;
public class ChatInputHistoryItem : UIItemBase
{
public Text _HistoryText;
#region modify str
public override void Show(Hashtable hash)
{
base.Show(hash);
var history = (ChatInputLogic.InputHistoryInfo)hash["InitObj"];
InitInputHistory(history);
}
public void InitInputHistory(ChatInputLogic.InputHistoryInfo historyInfo)
{
_HistoryText.text = historyInfo._StrShow;
}
#endregion
}