diff --git a/Editor/Installer/InstallerController.cs b/Editor/Installer/InstallerController.cs index da81bf1..97255df 100644 --- a/Editor/Installer/InstallerController.cs +++ b/Editor/Installer/InstallerController.cs @@ -127,14 +127,14 @@ namespace HybridCLR.Editor.Installer public string HybridCLRRepoInstalledVersion { - get { return EditorPrefs.GetString("hybridclr_repo"); } - set { EditorPrefs.SetString("hybridclr_repo", value); } + get { return EditorPrefs.GetString($"hybridclr_repo#{MajorVersion}"); } + set { EditorPrefs.SetString($"hybridclr_repo#{MajorVersion}", value); } } public string Il2CppRepoInstalledVersion { - get { return EditorPrefs.GetString("il2cpp_plus_repo"); } - set { EditorPrefs.SetString("il2cpp_plus_repo", value); } + get { return EditorPrefs.GetString($"il2cpp_plus_repo#{MajorVersion}"); } + set { EditorPrefs.SetString($"il2cpp_plus_repo#{MajorVersion}", value); } } diff --git a/package.json b/package.json index 990caff..6edd878 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.focus-creative-games.hybridclr_unity", - "version": "1.1.15", + "version": "1.1.16", "displayName": "HybridCLR", "description": "Unity package for HybridCLR. It includes editor and runtime scripts and assets for HybridCLR", "category": "Runtime",