Version: 2017.1

ModelImporter.importMaterials

切换到手册
public bool importMaterials ;

描述

从文件导入材质。

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.