I am a new unity user and also started to use blender. I’ve made some simple models, but I have no idea how to set it to Gameobjects I make in my script. I am currently making those objects using the create primitive method, but I can’t find out how to set the mesh filter’s mesh to my model.
Yes, prefabs are probably what you want. You can declare a public Mesh or GameObject (“prefab”/object template) variable in your script. Then drag a mesh or prefab to that variable which unity should expose on the object the script is attached to. You can then use Instantiate() to create an instance of the prefab. If you’re intent on using meshes manually, I found this with a quick google:
It’s more than you need but will give you an idea of how unity handles meshes and materials.