Start Unit PLacement
navmesh not working yet
This commit is contained in:
parent
afe60bae57
commit
49c5e6df9f
19 changed files with 40382 additions and 89 deletions
22
Assets/Scripts/Wallet.cs
Normal file
22
Assets/Scripts/Wallet.cs
Normal 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();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue