Version: 2017.3

AssetDatabase.LoadMainAssetAtPath

매뉴얼로 전환
public static Object LoadMainAssetAtPath (string assetPath);

파라미터

assetPath Filesystem path of the asset to load.

설명

Returns the main asset object at assetPath.

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

See Also: AssetDatabase.LoadAssetAtPath, AssetDatabase.LoadAllAssetsAtPath, AssetDatabase.LoadAllAssetRepresentationsAtPath.