mirror of https://github.com/tuyoogame/YooAsset
update asset art scanner
parent
ef4f011cf6
commit
ae0fbd4b10
|
@ -141,6 +141,13 @@ namespace YooAsset.Editor
|
|||
{
|
||||
var selectScanner = _scannerListView.selectedItem as AssetArtScanner;
|
||||
if (selectScanner != null)
|
||||
{
|
||||
if (evt.newValue == null)
|
||||
{
|
||||
selectScanner.SaveDirectory = string.Empty;
|
||||
AssetArtScannerSettingData.ModifyScanner(selectScanner);
|
||||
}
|
||||
else
|
||||
{
|
||||
string assetPath = AssetDatabase.GetAssetPath(evt.newValue);
|
||||
if (AssetDatabase.IsValidFolder(assetPath))
|
||||
|
@ -153,6 +160,7 @@ namespace YooAsset.Editor
|
|||
Debug.LogWarning($"Select asset object not folder ! {assetPath}");
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// 收集列表相关
|
||||
|
|
Loading…
Reference in New Issue