This commit is contained in:
BOT Alex 2024-04-21 12:33:03 +02:00
commit 08f6bb8804
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)
{
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(" ", ""));
}

View File

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