private static void MigrateProjectSettings() { // Doing a manual migration of project settings because Ludiq.Graphs and Ludiq.Core were merged into Bolt.Core // and each plugin has some shared project settings (so we need to merge them as well) // Ludiq.Graphs + Ludiq.Core + Bolt.Core -> VisualScripting.Core var coreProjectSettings = BoltCore.Configuration.projectSettings; var ludiqGraphsProjectSettings = MigrationUtility_1_4_13_to_1_5_1.GetLegacyProjectSettingsAsset("Ludiq.Graphs"); if (ludiqGraphsProjectSettings != null) { MigrationUtility_1_4_13_to_1_5_1.TransferSettings(ludiqGraphsProjectSettings, coreProjectSettings); } var ludiqCoreProjectSettings = MigrationUtility_1_4_13_to_1_5_1.GetLegacyProjectSettingsAsset("Ludiq.Core"); if (ludiqCoreProjectSettings != null) { MigrationUtility_1_4_13_to_1_5_1.TransferSettings(ludiqCoreProjectSettings, coreProjectSettings); } var boltCoreProjectSettings = MigrationUtility_1_4_13_to_1_5_1.GetLegacyProjectSettingsAsset("Bolt.Core"); if (boltCoreProjectSettings != null) { MigrationUtility_1_4_13_to_1_5_1.TransferSettings(boltCoreProjectSettings, coreProjectSettings); } BoltCore.Configuration.Save(); }
private void MigrateProjectSettings() { // Bolt.Flow -> VisualScripting.Flow var flowProjectSettings = BoltFlow.Configuration.projectSettings; var boltFlowProjectSettings = MigrationUtility_1_4_13_to_1_5_1.GetLegacyProjectSettingsAsset("Bolt.Flow"); if (boltFlowProjectSettings != null) { MigrationUtility_1_4_13_to_1_5_1.TransferSettings(boltFlowProjectSettings, flowProjectSettings); } }
private void MigrateProjectSettings() { // Bolt.State -> VisualScripting.State var stateProjectSettings = BoltState.Configuration.projectSettings; var boltStateProjectSettings = MigrationUtility_1_4_13_to_1_5_1.GetLegacyProjectSettingsAsset("Bolt.State"); if (boltStateProjectSettings != null) { MigrationUtility_1_4_13_to_1_5_1.TransferSettings(boltStateProjectSettings, stateProjectSettings); } }