AssetDatabase.GetTypeFromPathAndFileID

Switch to Manual
public static Type GetTypeFromPathAndFileID (string assetPath, long localIdentifierInFile);

Parameters

assetPathThe Asset's path.
localIdentifierInFileThe object's local file identifier.

Returns

Type The object's type.

Description

Gets an object's type from an Asset path and a local file identifier.