Challenge questions in 2d Roguelike tutorial

New to Unity and going through the 2d Roguelike tutorial. No issues until the first challenges section (part 6) in Add A Food Resource section. Is there anywhere with a useful repository, video, anything to refer to with better guidance:

Instead of always generating five food prefabs, have your game generate a random number of food based on a range we can customize in the inspector.

I can do this in the code with no issue but can’t figure out how to get it added to the inspector so it is customizable there. I am not even sure if it should be going in the SmallFood prefab Inspector area or the BoardManager.

I am sure these things are very obvious to everyone else experienced here but I am stumped and frustrated after googling and testing for way too long. I am sure I am overcomplicating it but could use help, please. Thanks

Might be worth posting a link to the tutorial when asking. It sounds like your referring to this tutorial Create a 2D Roguelike Game - Unity Learn. Looking at the code it looks like GenerateFood() is part of a MonoBehaviour, so you can just change it from:

void GenerateFood()
{
   int foodCount = 5;
   ...
}

to something like:

public int minFoodCount;
public int maxFoodCount;

void GenerateFood()
{
   int foodCount = Random.Range(minFoodCount, maxFoodCount);
   ...
}

minFoodCount and maxFoodCount are fields for the monobehaviour so you can update them in the editor.