InPrefab
Unity imports materials as sub-assets.
Read time 1 minuteLast updated 7 hours ago
Definition
- Type: Field
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
[InspectorName("Use Embedded Materials")][Tooltip("Embed the material inside the imported asset.")]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.
Additional Resources: ModelImporter.SearchAndRemapMaterials, ModelImporter.ExtractTextures.