private void ShowAccountSettings()
        {
            showApiKeySettings = EditorGUILayout.Foldout(showApiKeySettings, "Scape Account");
            if (showApiKeySettings)
            {
                ShowLogo();

                Rect DevelopmentSettings = EditorGUILayout.BeginHorizontal("box");
                {
                    Rect DevID = EditorGUILayout.BeginHorizontal("box");
                    {
                        GUILayout.Label("Enter your Scape API Key here:");
                        var newKey = EditorGUILayout.TextField(apiKey);
                        if (newKey != apiKey)
                        {
                            apiKey = newKey;
                            ScapeClient.SaveApiKeyToResource(apiKey);
                        }
                    }
                    EditorGUILayout.EndHorizontal();
                }
                EditorGUILayout.EndHorizontal();

                if (GUILayout.Button("Acquire API Key!"))
                {
                    this.Close();
                    Application.OpenURL("https://developer.scape.io/dashboard/");
                }
            }
        }
 void OnLostFocus()
 {
     ScapeClient.SaveApiKeyToResource(apiKey);
 }
 void OnDestroy()
 {
     ScapeClient.SaveApiKeyToResource(apiKey);
 }