|
So I can't figure out a way around this, and even though it has been talked about already, I never found a fix to this problem. I am using the following code to process my fbx files on import: Works like a charm except it won't let me manually change settings...every time I change an import setting manually in the FBXImporter options, it reverts it back to the above values when I press 'Apply'. Is there a way to prevent this from happening? Thanks for your time and help,
(comments are locked)
|
|
I'm not sure if there's an official way to do this, but here's a solution that definitely works. Add a label to any asset where you want to override your AssetPostProcessor's defaults. To add a label, look at the bottom of the inspector for an ellipsis in a little blue button. Click it to add a label, something like "importoverride". Then, do the following in the asset processor script. If more advanced behavior were needed, you could add any number of labels to control the import process per asset. Never thought of doing it this way...I completely forgot about labels, and I didn't even know you could access them via code, so thanks a lot for your answer, very helpful! Quick question: How do you "remove" a label? I messed up the name of a label I was adding and want to remove it now :) Thanks again!
Mar 19 '12 at 11:29 PM
ronronmx
Removing labels is not terribly intuitive. When you click the ellipsis button, the labels on the current asset should appear highlighted in blue. Click on them there to remove them.
Mar 20 '12 at 07:43 PM
nschrag
(comments are locked)
|
