Main Menu Rules

Started, should be finished in fact 👍
This commit is contained in:
Kirabsol 2025-01-29 01:02:28 +01:00
parent 9a67bd00aa
commit 97aa74cacb
26 changed files with 2020 additions and 1 deletions

View file

@ -0,0 +1,22 @@
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();
}
}