[fix] 修复Installer不同的Unity年度版本仍然读取相同的hybridclr及il2cpp_plus版本号配置,导致切换Unity版本时有可能发生默认显示的版本号错误的问题
parent
00cedc166f
commit
83c336a5ce
|
@ -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); }
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue