Reference to prefab not in scene.

Hi Girls!

I am having trouble getting a reference to a prefab.

It seems the preferred way to do it is to expose a variable like
public Transform explosionPrefab;
and then drop your preferred prefab onto that field in the inspector.

Now I am wondering if there is any other way to reference a prefab that is in the project folder, but not instantiated in the current scene?
It´s really not a big thing, I am just curious if it´s possible?

One thing is that it would be pretty difficult for unity to figure out that it needs to pack the prefab into the build, if the only reference to the prefab would be thru code.

TIA

I just realized that it is Resources.Load(“prefabname”) i am after