ModelImporterMaterialSearch Manual     Reference     Scripting  
Scripting > Editor Enumerations > ModelImporterMaterialSearch
ModelImporterMaterialSearch Enumeration

Material search options for ModelImporter.

Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.

See Also: ModelImporter.materialSearch.

Values
Local

Searh in local Materials forlder.

RecursiveUp

Recursive-up search in Materials forlders.

Everywhere

Searh in all project.