AssetDatabase.GetMainAssetTypeAtPath

매뉴얼로 전환
public static Type GetMainAssetTypeAtPath (string assetPath);

파라미터

assetPathFilesystem path of the asset to load.

설명

Returns the type of the main asset object at assetPath.

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