This commit is contained in:
Sveske Juice 2024-04-21 12:32:11 +02:00
parent fb16946336
commit 9d30f0a194
2 changed files with 0 additions and 9 deletions

View File

@ -26,13 +26,6 @@ public class AudioManager : MonoBehaviour
public static AudioClip FindAudioClip(string nameOfClip) public static AudioClip FindAudioClip(string nameOfClip)
{ {
Debug.Log(nameOfClip);
Debug.Log(Instance);
Debug.Log(Instance.audioLibrary);
foreach (var clip in Instance.audioLibrary.Clips)
{
Debug.LogWarning(clip.name);
}
return Instance.audioLibrary.Clips.First(x => x.name.ToLower().Replace(" ", "")== nameOfClip.ToLower().Replace(" ", "")); return Instance.audioLibrary.Clips.First(x => x.name.ToLower().Replace(" ", "")== nameOfClip.ToLower().Replace(" ", ""));
} }

View File

@ -31,8 +31,6 @@ public class ProjectileTower : AimTower
private IEnumerator AttackLoop() private IEnumerator AttackLoop()
{ {
do { do {
Debug.Log($"{GameManager.Instance.CurrentNumEnemies == 0}");
if (GameManager.Instance.CurrentNumEnemies == 0) if (GameManager.Instance.CurrentNumEnemies == 0)
{ {
yield return new WaitForEndOfFrame(); yield return new WaitForEndOfFrame();