Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


materialLocation

Material import location options.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public ModelImporterMaterialLocation materialLocation { get; set; }

Remarks

When importing a new model, Unity imports materials as either external assets or sub-assets, based on this property.
Additional Resources: ModelImporterMaterialLocation.