1
0
mirror of https://github.com/Cardidi/dotween-upm-fork.git synced 2025-12-21 01:36:05 +08:00

Added waiting message to Modules panel when compiling after first Setup

This commit is contained in:
Demigiant 2018-08-02 17:22:18 +02:00
parent 1f5e48d269
commit fc47f335c1
12 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: d3e15b806a8368742ba6f10e794d7b76
timeCreated: 1533146162
timeCreated: 1533212723
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}

View File

@ -46,8 +46,7 @@ namespace DG.DOTweenEditor.UI
GUILayout.Label("Add/Remove Modules", EditorGUIUtils.titleStyle);
if (EditorApplication.isCompiling) WaitForCompilation();
GUILayout.BeginVertical();
EditorGUI.BeginDisabledGroup(EditorApplication.isCompiling);
GUILayout.BeginVertical(UnityEngine.GUI.skin.box);
GUILayout.Label("Unity", EditorGUIUtils.boldLabelStyle);
@ -76,6 +75,9 @@ namespace DG.DOTweenEditor.UI
}
GUILayout.EndHorizontal();
EditorGUI.EndDisabledGroup();
GUILayout.EndVertical();
if (EditorApplication.isCompiling) WaitForCompilation();
return false;
}
@ -111,6 +113,8 @@ namespace DG.DOTweenEditor.UI
WaitForCompilation_Update();
}
// Rect r = GUILayoutUtility.GetLastRect();
// EditorGUI.HelpBox(r, "Waiting for Unity to finish the compilation process...", MessageType.Info);
EditorGUILayout.HelpBox("Waiting for Unity to finish the compilation process...", MessageType.Info);
}

Binary file not shown.