using System.Collections;
|
using System.Collections.Generic;
|
using UnityEngine;
|
using UnityEngine.UI;
|
|
namespace Snxxz.UI
|
{
|
public class TrialExchangeTitleCell : CellView
|
{
|
[SerializeField] Image m_BackGround;
|
[SerializeField] Text m_Title;
|
[SerializeField] Image m_BackGround1;
|
|
public void Display(int _class)
|
{
|
m_Title.text = Language.Get("TrialExchangeTitle", _class);
|
var iconKey = _class == 3 ? "OneStageHuawen" : _class == 4 ? "TwoStageHuawen" : "ThreeStageHuawen";
|
m_BackGround.SetSprite(iconKey);
|
m_BackGround.SetNativeSize();
|
m_BackGround1.SetSprite(iconKey);
|
m_BackGround1.SetNativeSize();
|
}
|
}
|
}
|