private void Save() { config.allAppModuleSetting.Clear(); foreach (var item in allModules) { ClassValue value = new ClassValue(item.Value, false); config.allAppModuleSetting.Add(item.Key.Name, value); } GameBootConfig.Save(config); }
void IPreprocessBuildWithReport.OnPreprocessBuild(BuildReport report) { Debug.Log("OnPreprocessBuild"); GameBootConfig config = GameBootConfig.LoadConfig(); if (config != null) { config.buildTime = DateTime.Now.Ticks; GameBootConfig.Save(config); AssetDatabase.Refresh(); Debug.Log("OnPreprocessBuild GameBootConfig:" + config.buildTime); } }