is there a way to get the name of a non-instantiated prefab?

so what i’m doing is trying to make a dictonary of prefabs using Resources.LoadAll("Particles/", typeof(GameObject)) as GameObject[]; but i need to get the name of each loaded GameObject in the array.

i’ve tried both the .name; and .ToString(); but both require it to be an instance of the GameObject.

.name should work just fine. You haven’t included an example otherwise we could tell you what went wrong.

GameObject[] prefabs = Resources.LoadAll<GameObject>("Particles/");
foreach(var p in prefabs)
{
    Debug.Log("Prefab object name: " + p.name)
}