|
I am trying to make self contained object-assets for someone. I have the textures and fbx format geometry, but really have no idea how to export the textures and models together into a unity prefab so that he is just able to import an object. Any help would be appreciated.
(comments are locked)
|
|
Select everything you want to export with ctrl-clicking in the project tab, then right-click and choose export package - everything you selected will be included in the package. AHA, that's how it works. I thought one needed to drag and drop into the prefab name marker itself. Thankyou.
Nov 22 '11 at 12:38 AM
NRS1993
(comments are locked)
|
|
Just select your prefab in your project panel, right-click and choose export package. It will automatically include all dependencies. You can select as much assets you like to pack together in a package. If you open a .unitypackage it will show an import dialog where you can select the assets you want to import. What I am still having a hard time with is packaging an image file, I keep dragging the image into the prefab, but it won't stick.
Nov 21 '11 at 09:38 PM
NRS1993
The dependency inclusion for the export seems broken to me - if I right click on the prefab and do "select dependencies", it selects things that will not be included with the "include dependencies" checkbox of the export. I get better results by doing "select dependencies" first, then doing export on that selection.
Nov 21 '11 at 09:56 PM
thorbrian
Thanks, actually, I am now unable to package an image file with it, that is what I'm having a hard time with.
Nov 21 '11 at 10:00 PM
NRS1993
I just tested it with 3.4.2f2 on windows - I selected a .psd file in the project view, right-clicked and did "export package", and I got a package with the .psd in it, when I imported into another project, it imported the .psd. It worked fine as part of a multi-select with a prefab using the texture as well. What exactly is it you are trying and what is the result you are getting?
Nov 21 '11 at 10:05 PM
thorbrian
(comments are locked)
|
