기술 자료

Unity Engine

Unity Engine

importMaterials

Import materials from file.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
경고
Removed. importMaterials has been removed. Use materialImportMode instead.
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.