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

◆ GetAvailable() [2/2]

static Type[] GetAvailable ( [NotNull] Path path)
static

Gets the available AssetImporter types for assets of this kind.

Parameters
pathPath to an asset file.
Returns
AssetImporter types that handle importing assets of the same kind as the given asset file.
See also

Definition at line 143 of file Asset.Importer.cs.

144 {
145#if UNITY_2022_1_OR_NEWER
146 return AssetDatabase.GetAvailableImporters(path);
147#else
148 return AssetDatabase.GetAvailableImporterTypes(path);
149#endif
150 }