Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

ModelImporter.importMaterials

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.

Did you find this page useful? Please give it a rating: