Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ModelImporter.materialSearch

var materialSearch: ModelImporterMaterialSearch;
materialSearch as ModelImporterMaterialSearch

Description

Existing material search setting.

When importing new model Unity will try to find existing materials in a set of folders based on this setting. See Also: ModelImporterMaterialSearch, materialName, importMaterials.