ModelImporter.importMaterials
var importMaterials: bool;
bool importMaterials;
importMaterials as bool
Description

Import materials from file.

When set to false ModelImporter will use default material (Default-Diffuse.mat) instead of imported materials, otherwise it will find existing or create new materials based on materialName and materialSearch options. See Also: materialName, materialSearch options.