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:
parent
1f5e48d269
commit
fc47f335c1
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: d3e15b806a8368742ba6f10e794d7b76
|
guid: d3e15b806a8368742ba6f10e794d7b76
|
||||||
timeCreated: 1533146162
|
timeCreated: 1533212723
|
||||||
licenseType: Pro
|
licenseType: Pro
|
||||||
TextureImporter:
|
TextureImporter:
|
||||||
fileIDToRecycleName: {}
|
fileIDToRecycleName: {}
|
||||||
|
|||||||
@ -46,8 +46,7 @@ namespace DG.DOTweenEditor.UI
|
|||||||
|
|
||||||
GUILayout.Label("Add/Remove Modules", EditorGUIUtils.titleStyle);
|
GUILayout.Label("Add/Remove Modules", EditorGUIUtils.titleStyle);
|
||||||
|
|
||||||
if (EditorApplication.isCompiling) WaitForCompilation();
|
GUILayout.BeginVertical();
|
||||||
|
|
||||||
EditorGUI.BeginDisabledGroup(EditorApplication.isCompiling);
|
EditorGUI.BeginDisabledGroup(EditorApplication.isCompiling);
|
||||||
GUILayout.BeginVertical(UnityEngine.GUI.skin.box);
|
GUILayout.BeginVertical(UnityEngine.GUI.skin.box);
|
||||||
GUILayout.Label("Unity", EditorGUIUtils.boldLabelStyle);
|
GUILayout.Label("Unity", EditorGUIUtils.boldLabelStyle);
|
||||||
@ -76,6 +75,9 @@ namespace DG.DOTweenEditor.UI
|
|||||||
}
|
}
|
||||||
GUILayout.EndHorizontal();
|
GUILayout.EndHorizontal();
|
||||||
EditorGUI.EndDisabledGroup();
|
EditorGUI.EndDisabledGroup();
|
||||||
|
GUILayout.EndVertical();
|
||||||
|
|
||||||
|
if (EditorApplication.isCompiling) WaitForCompilation();
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -111,6 +113,8 @@ namespace DG.DOTweenEditor.UI
|
|||||||
WaitForCompilation_Update();
|
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);
|
EditorGUILayout.HelpBox("Waiting for Unity to finish the compilation process...", MessageType.Info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user