mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-25 13:30:17 +00:00
Loader: display error in text area ; display exit button below error
This commit is contained in:
parent
5c845e244e
commit
c1840327d0
2 changed files with 9 additions and 3 deletions
|
@ -454,7 +454,7 @@ namespace SanAndreasUnity.Behaviours
|
|||
|
||||
// display loading progress
|
||||
|
||||
GUILayout.BeginArea(new Rect(10, 5, 400, Screen.height));
|
||||
GUILayout.BeginArea(new Rect(10, 5, 400, Screen.height - 5));
|
||||
|
||||
// current status
|
||||
GUILayout.Label("<size=25>" + LoadingStatus + "</size>");
|
||||
|
@ -466,7 +466,13 @@ namespace SanAndreasUnity.Behaviours
|
|||
// display error
|
||||
if (m_hasErrors) {
|
||||
GUILayout.Space (20);
|
||||
GUILayout.Label("<size=20>" + "The following exception occured during the current step:\n" + "</size>" + m_loadException.ToString ());
|
||||
GUILayout.Label("<size=20>" + "The following exception occured during the current step:" + "</size>");
|
||||
GUILayout.TextArea( m_loadException.ToString () );
|
||||
GUILayout.Space (30);
|
||||
if (GUIUtils.ButtonWithCalculatedSize("Exit", 80, 30)) {
|
||||
GameManager.ExitApplication();
|
||||
}
|
||||
GUILayout.Space(5);
|
||||
}
|
||||
|
||||
// display all steps
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
- Chat
|
||||
|
||||
- Android: set font size to 23 ; adapt UI: options (save, load, size), Utilities size, file browser size ; sliders should be larger ; camera zoom should be configurable (no need for persistence) ; use unsigned (debug) key alias ; increment build number ; test at 800x480 resolution ;
|
||||
- Android: set font size to 23 ; adapt UI: options (save, load, size), Utilities size, file browser size ; sliders should be larger ; camera zoom should be configurable (no need for persistence) ; use unsigned (debug) key alias ; increment build number ; test at 800x480 resolution ; test Loader error displaying ;
|
||||
|
||||
- Touch input:
|
||||
|
||||
|
|
Loading…
Reference in a new issue