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

◆ GetGuid()

static GUID GetGuid ( [NotNull] Path path,
AssetPathToGUIDOptions options = AssetPathToGUIDOptions.IncludeRecentlyDeletedAssets )
static

Returns the GUID for an asset path.

Parameters
pathPath to an asset.
optionsAssetPathToGUIDOptions
Returns
GUID of the asset or an empty GUID if the path does not exist in the database.
See also