Version: 2017.1

AssetDatabase.LoadAllAssetRepresentationsAtPath

切换到手册
public static Object[] LoadAllAssetRepresentationsAtPath (string assetPath);

描述

Returns all asset representations at assetPath.

Asset representations are objects in the asset that are visible in the Project view. All paths are relative to the project folder, for example: "Assets/MyTextures/hello.png"

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