Version: 2019.2

AssetDatabase.GetMainAssetTypeAtPath

Switch to Manual
public static Type GetMainAssetTypeAtPath (string assetPath);

Parameters

assetPath@param assetPath Путь файловой системы ассета для загрузки.

Description

Returns the type of the main asset object at assetPath.

All paths are relative to the Project folder, for example: "Assets/MyTextures/hello.png".