Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


materialLocation

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

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public SpeedTreeImporter.MaterialLocation 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: SpeedTreeImporter.MaterialLocation.