123456789101112131415161718192021222324252627 |
- /****************************************************************************
- * 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 = "<color=green>´³¹Ø³É¹¦</color>";
- else ScoreSituation.text = "<color=red>´³¹ØÊ§°Ü</color>";
- }
- }
- }
|