This version of Unity is unsupported.

AssetDatabase.GetTypeFromPathAndFileID

Declaration

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

Parameters

assetPath The Asset's path.
localIdentifierInFile The 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.