It's possible save materials and meshes into a prefab like the unity's model importer?


Do you know if it’s possible to create a prefab and attach via scripting or less some assets to him, like material, meshes, custom scriptable objects… as Unity does for the model importer since 2018?


I think that using FBX exporter asset might be able to attach materials to a mesh, but i don’t think an FBX can contain scripts or scriptable objects, no. The closest thing to what you’re asking for may just be a unity package, but that would only accomplish the ‘packaging of related things together’ and not the prefab functionality.

Ok, searching better I found that I wanted.