/// <summary>
 /// 将传入的SchemeData保存到游戏可以读取的地方
 /// </summary>
 /// <param name="schemeData"></param>
 public static void SaveGameSchemeConfig(SchemeData schemeData)
 {
     if (schemeData != null)
     {
         Dictionary <string, SingleField> config = new Dictionary <string, SingleField>();
         config.Add(SDKManager.c_KeyName, new SingleField(JsonUtility.ToJson(schemeData)));
         ConfigEditorWindow.SaveData(SDKManager.c_ConfigName, config);
     }
     else
     {
         File.Delete(ConfigEditorWindow.GetConfigPath(SDKManager.c_ConfigName));
     }
 }
    /// <summary>
    /// 将传入的SchemeData保存到游戏可以读取的地方
    /// </summary>
    /// <param name="schemeData"></param>
    public static void SaveGameSchemeConfig(SchemeData schemeData)
    {
        Debug.Log("SaveGameSchemeConfig " + schemeData.LoginScheme.Count + " " + schemeData.SchemeName);

        if (schemeData != null)
        {
            Dictionary <string, SingleField> config = new Dictionary <string, SingleField>();
            config.Add(SDKManager.c_KeyName, new SingleField(JsonUtility.ToJson(schemeData)));
            ConfigEditorWindow.SaveData(SDKManager.c_ConfigName, config);
            ConfigManager.CleanCache();
        }
        else
        {
            File.Delete(ConfigEditorWindow.GetConfigPath(SDKManager.c_ConfigName));
        }
    }