CodeSmile AssetDatabase 1.9
Unity's AssetDatabase in enjoyable, consistent, concise, convenient, comprehensible, safe, documented form.
Loading...
Searching...
No Matches

◆ ActiveImporter

Type ActiveImporter
getset

Returns the active AssetImporter type for this asset.

Will be the DefaultImporter type unless the importer was overridden.

See also

Definition at line 155 of file Asset.Properties.cs.

156 {
157 get
158 {
159 var overridden = Importer.GetOverride(m_AssetPath);
160 return overridden != null ? overridden : Importer.GetDefault(m_AssetPath);
161 }
162 set
163 {
164 if (value == null)
165 Importer.ClearOverride(m_AssetPath);
166 else
167 Importer.SetImporterOverride(value, m_AssetPath);
168 }
169 }