- Home /
Question by
superdudeman · Aug 28, 2014 at 06:42 PM ·
importblenderloading
Loading Blender models through script?
Is it possible to load a .blend file into the scene through code? I'm trying to create it as a GameObject without dragging it into the scene manually.
Comment
Answer by KiraSensei · Aug 28, 2014 at 06:43 PM
You would need to create a prefab with you blender model. See doc HERE.
Then you will have to instantiate it like that.
Good luck !
Thanks, but automating the entire prefab creation through code is what I'm trying to achieve. The only part that I can't find how to do (if at all possible) is actually loading the blender model as a GameObject onto the scene.