The name `InitialiseList' does not exist in the current context

public void SetupScene (int level)
{
BoardSetup();
InitialiseList ();
LayoutObjectAtRandom(wallTiles, wallCount.minimum, wallCount.maximum);
LayoutObjectAtRandom(foodTiles, foodCount.minimum, foodCount.maximum);
int enemyCount = (int)Mathf.Log(level,2f);
LayoutObjectAtRandom (enemyTiles, enemyCount, enemyCount);
Instantiate (exit, new Vector3(columns - 1, rows -1, 0f), Quaternion.identity);
}

I’m extremely new to coding and Unity as well. I have no clue why this isn’t working but I’ve even tried copying the code of others to remove this error but it persists. I’m following the tutorial to make the 2DRogueLike from Unity YT page and I’m certain I’ve follow everything to the letter but can’t get this error to go away. Please help.

Nvm I figured it out.