YanCheng_Metrology/Assets/Scripts/Project/UI/UI_Item/UI_PracticeInfoItem.cs

20 lines
503 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class UI_PracticeInfoItem : BaseItem
{
public TextMeshProUGUI number;
public TextMeshProUGUI point;
public TextMeshProUGUI pointInfo;
public TextMeshProUGUI score;
public void Init(string _number,string _point,string _pointInfo,string _score)
{
number.text = _number;
point.text = _point;
pointInfo.text = _pointInfo;
score.text = _score;
}
}