void Start() { healthS = new HealthSystem(100); HealBarM.Setup(healthS); sheildS = new HealthSystem(100); SheildBarM.Setup(sheildS); sheildS.Damage(10); gameOver = false; restart = false; restartText.text = ""; gameOverText.text = ""; score = 0; salvage = 0; UpdateScore(); StartCoroutine(SpawnWaves()); }