Initial framework for upgrade shop

This commit is contained in:
2024-10-20 20:01:23 -07:00
parent c679a1f8a8
commit 256b9ba569
31 changed files with 4248 additions and 6 deletions

View File

@@ -0,0 +1,17 @@
using UnityEngine;
public class WaveIndicator : MonoBehaviour
{
GameState gameState;
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
gameState = GameObject.FindGameObjectWithTag("GameController").GetComponent<GameState>();
}
// Update is called once per frame
void Update()
{
GetComponent<TMPro.TMP_Text>().text = "Wave: "+gameState.wave;
}
}