private void InfoWindowGUI(int windowId)
    {
        if (request != null && request.IsRunning)
        {
            GUILayout.Label(string.Format("Loading: {0:P2}", request.Progress));
            if (GUILayout.Button("Abort Upload"))
            {
                request.Abort();
            }
        }
        else
        {
            UploadFilePath = GUILayout.TextField(UploadFilePath);
            if (GUILayout.Button("Upload"))
            {
                Upload();
            }
        }

        if (!string.IsNullOrEmpty(resumableSessionUri))
        {
            GUILayout.Label(resumableSessionUri);
        }
    }
    protected override void OnWindowGUI(int windowId)
    {
        if (request != null && request.IsRunning)
        {
            GUILayout.Label($"Loading: {request.Progress:P2}");
            if (GUILayout.Button("Abort Upload"))
            {
                request.Abort();
            }
        }
        else
        {
            UploadFilePath = GUILayout.TextField(UploadFilePath);
            if (GUILayout.Button("Upload"))
            {
                Upload();
            }
        }

        if (!string.IsNullOrEmpty(resumableSessionUri))
        {
            GUILayout.Label(resumableSessionUri);
        }
    }