Merge branch 'main' of https://gitea.deprived.dev/Sveskejuice/3DTD
This commit is contained in:
commit
08f6bb8804
|
@ -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(" ", ""));
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue