added audio folder and renamed C# Scripts to Scripts C#

hi
This commit is contained in:
Iazubi
2024-10-25 17:33:47 -07:00
parent 3b08467326
commit 4d667a2e5f
26 changed files with 1322 additions and 0 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;
}
}