Version: 2020.1
Method group is Obsolete

ModelImporter.importMaterials

Switch to Manual
Obsolete public bool importMaterials ;

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.