ProjetAMJV_CR/Assets/Scripts/Wallet.cs
Kirabsol 49c5e6df9f Start Unit PLacement
navmesh not working yet
2025-01-27 23:37:59 +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();
}
}