mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-14 19:40:47 +00:00
Fix File Dialog Cancel Error Log
选择文件时取消报错修复
This commit is contained in:
@@ -29,9 +29,8 @@ namespace YooAsset.Editor
|
|||||||
if (GUILayout.Button("选择补丁包", GUILayout.MaxWidth(150)))
|
if (GUILayout.Button("选择补丁包", GUILayout.MaxWidth(150)))
|
||||||
{
|
{
|
||||||
string resultPath = EditorUtility.OpenFilePanel("Find", "Assets/", "bytes");
|
string resultPath = EditorUtility.OpenFilePanel("Find", "Assets/", "bytes");
|
||||||
if (string.IsNullOrEmpty(resultPath))
|
if (!string.IsNullOrEmpty(resultPath))
|
||||||
return;
|
_manifestPath = resultPath;
|
||||||
_manifestPath = resultPath;
|
|
||||||
}
|
}
|
||||||
EditorGUILayout.LabelField(_manifestPath);
|
EditorGUILayout.LabelField(_manifestPath);
|
||||||
EditorGUILayout.EndHorizontal();
|
EditorGUILayout.EndHorizontal();
|
||||||
|
|||||||
Reference in New Issue
Block a user