/**************************************************************************** * 2024.6 LXD ****************************************************************************/ using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using QFramework; namespace QFramework { public partial class ChanllResultItem : UIElement { public void InitData(int index,LevelItem leveItem) { if (index % 2 == 0) Bg.gameObject.SetActive(false); else Bg.gameObject.SetActive(true); StepID.text = index.ToString(); StepDesctript.text = leveItem.leveName; if (leveItem.finish) ScoreSituation.text = "´³¹Ø³É¹¦"; else ScoreSituation.text = "´³¹ØÊ§°Ü"; } } }