35 lines
659 B
C#
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();
|
|
}
|
|
|
|
}
|