- Home /
Question by
carldevelopsforcoffee · Feb 12, 2018 at 05:18 AM ·
exportassetdatabasedependenciesunitypackageexporter
How can I select asset dependencies when using AssetDatabase.ExportPackage
I want to create a package of my prefab that has a monobehavior script and a child with a sprite renderer (sprite from some atlas).
I want to export the same prefab into another project by using AssetDatabase.ExportPackage but I don't want to include the monobehavior script. I want the package to contain the prefab, the child sprite renderer and the atlas for the sprite only.
So basically, how can i select specific dependencies when exporting a package thru code?
Comment
Your answer
Follow this Question
Related Questions
How do I export a specific prefab into Unity package? 2 Answers
.Obj Exporter with .Mtl 0 Answers
Correct Way of Exporting Packages 1 Answer
Script causing prefab export to have HUGE dependencies? 1 Answer
Is the Asset export function broken? 10 Answers