2024-11-27 22:22:41 +08:00
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using UnityEngine;
|
2024-11-28 00:39:35 +08:00
|
|
|
|
using UnityEngine.UI;
|
|
|
|
|
using TMPro;
|
2024-11-27 22:22:41 +08:00
|
|
|
|
|
|
|
|
|
public class wokePanel : ui_huodong
|
|
|
|
|
{
|
2024-11-28 00:39:35 +08:00
|
|
|
|
public Sprite icon;
|
|
|
|
|
[Header("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD>TextPro")]
|
|
|
|
|
public TextMeshProUGUI BigNameText;
|
|
|
|
|
[Header("<22><>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD>TextPro")]
|
|
|
|
|
public TextMeshProUGUI NameText;
|
|
|
|
|
[Header("<22><>Ʒ<EFBFBD>۸<EFBFBD><DBB8><EFBFBD>TextPro")]
|
|
|
|
|
public TextMeshProUGUI priceText;
|
|
|
|
|
[Header("<22><>Ʒ<EFBFBD>۸<EFBFBD><DBB8><EFBFBD><EFBFBD><EFBFBD>ϸ<EFBFBD><CFB8><EFBFBD><EFBFBD>")]
|
|
|
|
|
public Text info;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void initShow(Sprite icon,string BigNameText,string NameText,string priceText,string info)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void initShow(string BigNameText, string NameText, string priceText, string info)
|
|
|
|
|
{
|
|
|
|
|
this.BigNameText.text = BigNameText;
|
|
|
|
|
this.NameText.text = NameText;
|
|
|
|
|
this.priceText.text = "<22><>"+priceText;
|
|
|
|
|
this.info.text = info;
|
|
|
|
|
}
|
2024-11-27 22:22:41 +08:00
|
|
|
|
}
|