ProjetAMJV_CR/Assets/Scripts/UI/Wallet.cs
Kirabsol 97aa74cacb Main Menu Rules
Started, should be finished in fact 👍
2025-01-29 01:02:28 +01:00

22 lines
435 B
C#

using TMPro;
using UnityEngine;
public class Wallet : MonoBehaviour
{
private int argent;
[SerializeField] TextMeshProUGUI argentTexte;
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
}
// Update is called once per frame
void Update()
{
argent = GlobalsVariable.money;
argentTexte.text = argent.ToString();
}
}