기술 자료

Unity Engine

Unity Engine

InPrefab

Unity imports materials as sub-assets.
읽는 시간 1분최근 업데이트: 6시간 전

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
[Tooltip("Embed the material inside the imported asset.")][InspectorName("Use Embedded Materials")]InPrefab = 1

Remarks

Materials imported as sub-assets are read-only and can only be modified after they are extracted.
When using this setting, Unity does not extract the embedded textures during import.