private static void ShowEditorErrorWindow(string errorString) { EditorUpdateWindow.LoadResources(); EditorUpdateWindow.s_ErrorString = errorString; EditorUpdateWindow.s_HasConnectionError = true; EditorUpdateWindow.s_HasUpdate = false; EditorUpdateWindow.ShowWindow(); }
private static void ShowEditorUpdateWindow(string latestVersionString, string latestVersionMessage, string updateURL) { EditorUpdateWindow.LoadResources(); EditorUpdateWindow.s_LatestVersionString = latestVersionString; EditorUpdateWindow.s_LatestVersionMessage = latestVersionMessage; EditorUpdateWindow.s_UpdateURL = updateURL; EditorUpdateWindow.s_HasConnectionError = false; EditorUpdateWindow.s_HasUpdate = (updateURL.Length > 0); EditorUpdateWindow.ShowWindow(); }