Merge pull request #342 from miuleung/dev
Fix File Dialog Cancel Error Log
This commit is contained in:
+1
-2
@@ -29,8 +29,7 @@ namespace YooAsset.Editor
|
||||
if (GUILayout.Button("选择补丁包", GUILayout.MaxWidth(150)))
|
||||
{
|
||||
string resultPath = EditorUtility.OpenFilePanel("Find", "Assets/", "bytes");
|
||||
if (string.IsNullOrEmpty(resultPath))
|
||||
return;
|
||||
if (!string.IsNullOrEmpty(resultPath))
|
||||
_manifestPath = resultPath;
|
||||
}
|
||||
EditorGUILayout.LabelField(_manifestPath);
|
||||
|
||||
Reference in New Issue
Block a user