29 lines
467 B
C#
29 lines
467 B
C#
|
using UnityEngine;
|
|||
|
using UnityEngine.UI;
|
|||
|
using System.Collections;
|
|||
|
using Games.GlobeDefine;
|
|||
|
using GCGame.Table;
|
|||
|
|
|||
|
public class DaySelectItem : UIItemSelect
|
|||
|
{
|
|||
|
#region
|
|||
|
|
|||
|
public Text _Text;
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
public override void Show(Hashtable hash)
|
|||
|
{
|
|||
|
base.Show();
|
|||
|
|
|||
|
var dayValue = (int)hash["InitObj"];
|
|||
|
InitItem(dayValue);
|
|||
|
}
|
|||
|
|
|||
|
private void InitItem(int value)
|
|||
|
{
|
|||
|
_Text.text = value.ToString();
|
|||
|
}
|
|||
|
|
|||
|
}
|