Inheritance: EditorWindow
    private static void Update()
    {
        if (!gotVersion)
        {
            if (wwwVersion == null)
            {
                wwwVersion = new WWW(versionUrl);
            }

            if (!wwwVersion.isDone)
            {
                return;
            }

            if (UrlSuccess(wwwVersion))
            {
                version = wwwVersion.text;
            }

            wwwVersion = null;
            gotVersion = true;

            if (ShouldDisplay())
            {
                var url = string.Format(notesUrl, version);
                wwwNotes = new WWW(url);

                window         = GetWindow <SteamVR_Update>(true);
                window.minSize = new Vector2(320, 440);
                //window.title = "SteamVR";
            }
        }

        if (wwwNotes != null)
        {
            if (!wwwNotes.isDone)
            {
                return;
            }

            if (UrlSuccess(wwwNotes))
            {
                notes = wwwNotes.text;
            }

            wwwNotes = null;

            if (notes != "")
            {
                window.Repaint();
            }
        }

        EditorApplication.update -= Update;
    }
	static void Update()
	{
		if (wwwVersion != null)
		{
			if (!wwwVersion.isDone)
				return;

			if (UrlSuccess(wwwVersion))
				version = wwwVersion.text;

			wwwVersion = null;

			if (ShouldDisplay())
			{
				var url = string.Format(notesUrl, version);
				wwwNotes = new WWW(url);

				window = GetWindow<SteamVR_Update>(true);
				window.minSize = new Vector2(320, 440);
				//window.title = "SteamVR";
			}
		}

		if (wwwNotes != null)
		{
			if (!wwwNotes.isDone)
				return;

			if (UrlSuccess(wwwNotes))
				notes = wwwNotes.text;

			wwwNotes = null;

			if (notes != "")
				window.Repaint();
		}

		EditorApplication.update -= Update;
	}