Exemple #1
0
 void SaveConfigGUI()
 {
     if (GUILayout.Button("保存"))
     {
         SchemeDataService.SaveEditorSchemeData();
         SchemeDataService.SaveGameSchemeConfig(m_currentSchemeData);
     }
 }
Exemple #2
0
    void CreateScheme(string SchemeName)
    {
        SchemeData data = new SchemeData();

        data.SchemeName = SchemeName;

        SchemeDataService.ConfigList.Add(data);
        SchemeDataService.ConfigNameList.Add(data.SchemeName);

        configName = "";
        SchemeDataService.SaveEditorSchemeData();
    }
 void SaveScheme()
 {
     SchemeDataService.SaveEditorSchemeData();
     SchemeDataService.SaveGameSchemeConfig(
         SchemeDataService.CreateSchemeData(
             m_currentSchemeData.SchemeName,
             m_LoginScheme,
             m_ADScheme,
             m_PayScheme,
             m_LogScheme,
             m_otherScheme
             ));
 }
    void SaveScheme()
    {
        m_currentSchemeData = SchemeDataService.CreateSchemeData(
            m_currentSchemeData.SchemeName,
            m_currentSchemeData.UseNewSDKManager,
            m_LoginScheme,
            m_ADScheme,
            m_PayScheme,
            m_LogScheme,
            m_otherScheme
            );

        SchemeDataService.SaveGameSchemeConfig(m_currentSchemeData);

        SchemeDataService.UpdateSchemeData(m_currentSchemeData);
        SchemeDataService.SaveEditorSchemeData();
    }