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

◆ IsImported() [2/2]

static Boolean IsImported ( [NotNull] Path path)
static

Checks if the path is in the AssetDatabase.

If you are sure the asset path exists but this method returns false then you need to Import() the asset.

Unlike AssetDatabase, will not throw a NullRef if you pass null.

Parameters
pathPath to an asset.
Returns
Returns false if the path isn't in the database or if the path is null.
See also