system
1
I really want to know if is possible to disable the automatic material creation ?.
I prefered to create my own materials folder, and apply them to the model.
I wish to work with .obj too.
I found and old thread from 2009, but maybe now at 2011 unity has a better way.
Thanks.
In the inspector, for each mesh (under the Materials heading), change Generation from Per Texture to Off.
Duoz
3
I found it! This C# script will do the job. Put it in Asset/Editor.
using UnityEditor;
public class FBXScaleFix : AssetPostprocessor
{ public void OnPreprocessModel()
{ ModelImporter modelImporter = (ModelImporter) assetImporter;
modelImporter.globalScale = 1;
modelImporter.importMaterials = false;
}
}