Unity help
Bunnytoes

I fixed the first error but now I need my enemies to spawn when the enemies left in the wave is 0, here is the code and please help me @Coder100 (sorry for ping)

and screenshots


and

it's supposed to do 1 blue enemy 2 blue enemy 5 blue enemy 3 green enemies and 10 yellow enemies and it doesn't do that

using UnityEngine;

[System.Serializable]
public class Wave
{
public GameObject enemy;
public int count;
public float rate;
}

also if 2+ lasers are hitting one target then the money gets huge

You are viewing a single comment. View All
Bunnytoes

@Coder100 I mean like leave the edited code in a reply please