private void OnGUI()
    {
        config.netPort = EditorGUILayout.IntField("Port", config.netPort);

        GUILayout.Space(8);
        config.autoBoot = GUILayout.Toggle(config.autoBoot, "Auto Boot");
        GUILayout.Space(5);
        GUILayout.Label("Login Key");
        config.loginKey = GUILayout.TextField(config.loginKey);
        GUILayout.Space(2);
        GUILayout.Label("Login Password");
        config.loginPassword = GUILayout.TextField(config.loginPassword);


        // GUILayout.Label("Auto Boot");


        GUILayout.FlexibleSpace();

        if (GUILayout.Button("Save", GUILayout.Width(150)))
        {
            GameConsolePanelSettingConfig.SaveConfig(config);
            AssetDatabase.Refresh();

            ShowNotification(new GUIContent("Save Success!"));
        }
        GUILayout.Space(8);
    }
 private void Init()
 {
     config = GameConsolePanelSettingConfig.GetCofig();
 }