LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

ModelImporterMaterialName

enumeration

Description

Material naming options for ModelImporter.

See Also: ModelImporter.materialName.

Properties

BasedOnTextureNameUse material names in the form <textureName>.mat.
BasedOnMaterialNameUse a material name of the form <materialName>.mat.
BasedOnModelNameAndMaterialNameUse material names in the form <modelFileName>-<materialName>.mat.