CapersProject/Assets/02.Scripts/Ui/Tycoon/TycoonShopUi.cs

22 lines
476 B
C#
Raw Normal View History

2024-11-12 09:33:07 +00:00
using UnityEngine;
using Sirenix.OdinInspector;
using TMPro;
public class TycoonShopUi : MonoBehaviour
{
[field: SerializeField, CLabel("카드 프리펫")]
private GameObject cardPerfab;
[field: SerializeField, CLabel("골드TextMesh")]
private TextMeshProUGUI goldTextmesh;
//goldTextMesh.text =
[Button("Shop 열기")]
private void CreateCard()
{
goldTextmesh.text = $"Gold : {ES3.Load("EndGold", 0)}";
}
}