mirror of https://github.com/tuyoogame/YooAsset
Update AssetArtReporterWindow.cs
parent
415f844982
commit
377fca20d9
|
@ -119,10 +119,10 @@ namespace YooAsset.Editor
|
||||||
visualAsset.CloneTree(root);
|
visualAsset.CloneTree(root);
|
||||||
|
|
||||||
// 导入按钮
|
// 导入按钮
|
||||||
var singleImportBtn = root.Q<Button>("SingleImportButton");
|
var importSingleBtn = root.Q<Button>("SingleImportButton");
|
||||||
singleImportBtn.clicked += SingleImportBtn_clicked;
|
importSingleBtn.clicked += ImportSingleBtn_clicked;
|
||||||
var multiImportBtn = root.Q<Button>("MultiImportButton");
|
var importMultiBtn = root.Q<Button>("MultiImportButton");
|
||||||
multiImportBtn.clicked += MultiImportBtn_clicked;
|
importMultiBtn.clicked += ImportMultiBtn_clicked;
|
||||||
|
|
||||||
// 修复按钮
|
// 修复按钮
|
||||||
var fixAllBtn = root.Q<Button>("FixAllButton");
|
var fixAllBtn = root.Q<Button>("FixAllButton");
|
||||||
|
@ -193,7 +193,7 @@ namespace YooAsset.Editor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SingleImportBtn_clicked()
|
private void ImportSingleBtn_clicked()
|
||||||
{
|
{
|
||||||
string selectFilePath = EditorUtility.OpenFilePanel("导入报告", _lastestOpenFolder, "json");
|
string selectFilePath = EditorUtility.OpenFilePanel("导入报告", _lastestOpenFolder, "json");
|
||||||
if (string.IsNullOrEmpty(selectFilePath))
|
if (string.IsNullOrEmpty(selectFilePath))
|
||||||
|
@ -201,7 +201,7 @@ namespace YooAsset.Editor
|
||||||
|
|
||||||
ImportSingleReprotFile(selectFilePath);
|
ImportSingleReprotFile(selectFilePath);
|
||||||
}
|
}
|
||||||
private void MultiImportBtn_clicked()
|
private void ImportMultiBtn_clicked()
|
||||||
{
|
{
|
||||||
string selectFolderPath = EditorUtility.OpenFolderPanel("导入报告", _lastestOpenFolder, null);
|
string selectFolderPath = EditorUtility.OpenFolderPanel("导入报告", _lastestOpenFolder, null);
|
||||||
if (string.IsNullOrEmpty(selectFolderPath))
|
if (string.IsNullOrEmpty(selectFolderPath))
|
||||||
|
|
Loading…
Reference in New Issue