mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-22 12:03:04 +00:00
fix pausable progress bar
This commit is contained in:
parent
f2e1d920bd
commit
4e98f2a905
1 changed files with 1 additions and 0 deletions
|
@ -511,6 +511,7 @@ namespace SanAndreasUnity.Editor
|
|||
{
|
||||
if (EditorUtility.DisplayCancelableProgressBar(title, text, progress))
|
||||
{
|
||||
EditorUtility.ClearProgressBar();
|
||||
// ok = continue
|
||||
return !EditorUtility.DisplayDialog(title, dialogText, ok, cancel);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue