searchTexturesGlobally
Controls whether the importer searches the entire project for textures.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public bool searchTexturesGlobally { get; set; }
Remarks
Legacy behavior. When enabled, the importer performs a project-wide search for textures if they are not found near the model file. This can produce non-deterministic results when multiple textures share the same name.
When disabled (the default for newly imported assets), the importer only looks for textures in subfolders called within the same folder as the model or in parent folders.
TexturesExisting assets imported with previous versions of Unity retain this as enabled for backward compatibility.
Additional Resources: ModelImporter.materialImportMode, ModelImporter.materialSearch.