//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Friday, June 08, 2018
|
//--------------------------------------------------------
|
using UnityEngine;
|
using System.Collections;
|
using UnityEngine.UI;
|
|
|
namespace vnxbqy.UI
|
{
|
|
public class RuneTowerSweepResultRune : MonoBehaviour
|
{
|
[SerializeField] Text m_RuneName;
|
[SerializeField] Text m_RuneCount;
|
|
public void Display(int _runeId, int _runeCount)
|
{
|
var itemConfig = ItemConfig.Get(_runeId);
|
|
m_RuneName.text = itemConfig.ItemName;
|
m_RuneName.color = UIHelper.GetUIColor(itemConfig.ItemColor, false);
|
m_RuneCount.text = StringUtility.Contact("x", _runeCount);
|
}
|
|
}
|
|
}
|
|
|
|