importMaterials
Import materials from file.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor
public bool importMaterials { get; }
Remarks
When set to false ModelImporter will use default material (Default-Diffuse.mat) instead of imported materials, otherwise it will find existing or create new materials based on ModelImporter.materialName and ModelImporter.materialSearch options.
Additional Resources: ModelImporter.materialName, ModelImporter.materialSearch options.