20 lines
		
	
	
		
			547 B
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			547 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(int count, ScoreInfo sInfo)
 | |
|     {
 | |
|         number.text = (count+1).ToString();
 | |
|         point.text = sInfo.point;
 | |
|         pointInfo.text = sInfo.pointInfo;
 | |
|         score.text = $"<color=#00EEE6>{sInfo.pointScore}</color>/{sInfo.maxScore}";
 | |
|     }
 | |
| }
 |