private void OnGUI() { if (!_loading && !_loadingError) { Event e = Event.current; if (e.type == EventType.KeyDown && Input.GetKeyDown(e.keyCode)) { StartGame(); } } if (Messager.HasNewMessages) { LoadingDetailsText.text += Messager.GetMessages(); } }