unity 获取Project面板已选择资源的路径
string[] guids=Selection.assetGUIDs;
int i=guids.Length;
while(--i>=0){
string guid=guids[i];
string assetPath=AssetDatabase.GUIDToAssetPath(guid);
Debug.Log(assetPath);
}
string[] guids=Selection.assetGUIDs;
int i=guids.Length;
while(--i>=0){
string guid=guids[i];
string assetPath=AssetDatabase.GUIDToAssetPath(guid);
Debug.Log(assetPath);
}