EdyJ / blender-to-unity3d-importer

Advanced Blender to Unity 3D model importer
MIT License
141 stars 34 forks source link

Custom asset for importer options. #3

Open frdfsnlght opened 10 years ago

frdfsnlght commented 10 years ago

Additions are backwards compatible and work with original file naming conventions. Options specified in file names and paths override options in assets.

I tried to follow your code formatting conventions but I may have missed something (since I use a different convention).

I'd really recommend making a proper Unity package out of this and putting it on the Asset Store. It took me far too long to find it and I can't be the only one. Nice job.

EdyJ commented 9 years ago

I like this idea, but the options in the Importer have a specific approach: when no specific options are specified, then importer works with the default options. The options in the file should be the same as those available in the code: "skipFix", "forceFix", "noAnimFix", etc. Thus, an options asset with no options enabled should trigger the importer with the default behavior. Any selected option would then modify the default behavior.

Also, I think that the EdysBlenderImporterOptions.cs file should be an Editor file as well. I see no reason for including it in the builds.