Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


materialName

Material naming setting.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public ModelImporterMaterialName materialName { get; set; }

Remarks

When importing new model Unity will generate material name based on this setting and then it will try to locate existing material with such name, if no such material exists Unity will create a new material by that name.