_TheStrongestSnail/TheStrongestSnail/Assets/Scripts/HistoryItem.cs

23 lines
625 B
C#
Raw Normal View History

2024-11-20 02:41:39 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class HistoryItem : MonoBehaviour
{
public int roomNo;//<2F><>Ӧ<EFBFBD><D3A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
public int KillTimes;//<2F><>ɱ<EFBFBD><C9B1><EFBFBD><EFBFBD>
public TextMeshProUGUI TextPro;//<2F><><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD>
public TextMeshProUGUI nameTextPro;//<2F><><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD>
public Image image;//<2F><><EFBFBD><EFBFBD>ͼƬ
public Sprite sprite;//ͼƬ<CDBC><C6AC><EFBFBD><EFBFBD>
// Start is called before the first frame update
void Start()
{
TextPro=transform.Find("TimesText").GetComponent<TextMeshProUGUI>();
image = transform.Find("Image").GetComponent<Image>();
}
}