I have been trying to track down using google why I get the red line under
Resources.LoadAll("")
public static Quest GetByName(string questName)
{
foreach (Quest quest in *Resources.LoadAll<Quest>(""))* <<--- red line
{
if(quest.name == questName)
{
return quest;
}
}
return null;
}
Here is folder structure
Thanks in advance