Hello.
I’ve tried to follow along with this lecture, but Intellisense wouldn’t fill in the WaveConfig methods and when I did, I got the error CS0120, “An object reference is required for the nonstatic field, method, or property ‘member’.”
What should I do? I cannot move on to the actual for loop challenge because of this.
private IEnumerator SpawnAllEnemiesInWave(WaveConfig config)
{
Instantiate(WaveConfig.GetEnemyPrefab(), WaveConfig.GetWaypoints()[0].transform.position, Quaternion.identity);
}
Thanks.