Files
JJBB/Assets/Project/Script/GUI/Equip/EquipQianghuaLevelSelectItem.cs
2024-08-23 15:49:34 +08:00

35 lines
659 B
C#

using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using Games.Item;
using GCGame.Table;
public class EquipQianghuaLevelSelectItem : UIItemSelect
{
public Text _LevelDesc;
private int _Level;
public override void Show(Hashtable hash)
{
base.Show();
_Level = (int)hash["InitObj"];
Refresh();
}
public override void Refresh()
{
base.Refresh();
_LevelDesc.text = StrDictionary.GetClientDictionaryString("{#5382}", _Level);
}
public override void OnItemClick()
{
base.OnItemClick();
EquipQianghuaRoot.Instance().OnHideAutoTarget();
}
}