Ejemplo n.º 1
0
 void SaveConfigGUI()
 {
     if (GUILayout.Button("保存"))
     {
         SchemeDataService.SaveEditorSchemeData();
         SchemeDataService.SaveGameSchemeConfig(m_currentSchemeData);
     }
 }
Ejemplo n.º 2
0
 void SaveScheme()
 {
     SchemeDataService.SaveEditorSchemeData();
     SchemeDataService.SaveGameSchemeConfig(
         SchemeDataService.CreateSchemeData(
             m_currentSchemeData.SchemeName,
             m_LoginScheme,
             m_ADScheme,
             m_PayScheme,
             m_LogScheme,
             m_otherScheme
             ));
 }
Ejemplo n.º 3
0
    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();
    }