18 lines
410 B
C#
18 lines
410 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
using UnityEngine.UI;
|
|
using GCGame.Table;
|
|
|
|
public class AdvanceAttrItem : MonoBehaviour {
|
|
|
|
public Text nameDesc;
|
|
public Text valueDesc;
|
|
|
|
public void InitAttrInfo(int strId, int value)
|
|
{
|
|
strId += 10000;
|
|
nameDesc.text = StrDictionary.GetClientDictionaryString("#{" + strId + "}");
|
|
valueDesc.text = value.ToString();
|
|
}
|
|
}
|