30 lines
572 B
C#
30 lines
572 B
C#
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using System.Collections;
|
|
using GCGame.Table;
|
|
using Games.Mission;
|
|
using Games.Events;
|
|
using Games.Item;
|
|
|
|
public class MarketPlayerSellLogDateItem : UIItemBase
|
|
{
|
|
|
|
public Text _DateTx;
|
|
|
|
public override void Show(Hashtable hash)
|
|
{
|
|
base.Show();
|
|
|
|
var logItem = (System.DateTime)hash["InitObj"];
|
|
if (logItem != null)
|
|
InitItem(logItem);
|
|
}
|
|
|
|
protected void InitItem(System.DateTime itemParam)
|
|
{
|
|
_DateTx.text = string.Format("{0:yyyy-MM-dd}", itemParam);
|
|
}
|
|
|
|
}
|