文档

Unity Engine

Unity Engine

materialName

Material naming setting.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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.