public bool DoGUI()
{
if (constants == null)
{
constants = new ASMainWindow.Constants();
}
if (this.resetKeyboardControl)
{
this.resetKeyboardControl = false;
GUIUtility.keyboardControl = 0;
}
GUILayout.BeginHorizontal(new GUILayoutOption[0]);
GUILayout.BeginVertical(constants.groupBox, new GUILayoutOption[0]);
GUILayout.Box("Server Connection", constants.title, new GUILayoutOption[0]);
GUILayout.BeginVertical(constants.contentBox, new GUILayoutOption[0]);
this.DoConfigGUI();
if (AssetServer.GetAssetServerError() != string.Empty)
{
GUILayout.Space(10f);
GUILayout.Label(AssetServer.GetAssetServerError(), constants.errorLabel, new GUILayoutOption[0]);
GUILayout.Space(10f);
}
GUILayout.EndVertical();
GUILayout.EndVertical();
this.DoProjectsGUI();
GUILayout.EndHorizontal();
return true;
}