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.

ModelImporter.materialLocation

public ModelImporterMaterialLocation materialLocation;

Description

Material import location options.

When importing a new model, Unity imports materials as either external assets or sub-assets, based on this property.

See Also: ModelImporterMaterialLocation.