[fix] 修复Installer不同的Unity年度版本仍然读取相同的hybridclr及il2cpp_plus版本号配置,导致切换Unity版本时有可能发生默认显示的版本号错误的问题
parent
00cedc166f
commit
83c336a5ce
|
@ -127,14 +127,14 @@ namespace HybridCLR.Editor.Installer
|
||||||
|
|
||||||
public string HybridCLRRepoInstalledVersion
|
public string HybridCLRRepoInstalledVersion
|
||||||
{
|
{
|
||||||
get { return EditorPrefs.GetString("hybridclr_repo"); }
|
get { return EditorPrefs.GetString($"hybridclr_repo#{MajorVersion}"); }
|
||||||
set { EditorPrefs.SetString("hybridclr_repo", value); }
|
set { EditorPrefs.SetString($"hybridclr_repo#{MajorVersion}", value); }
|
||||||
}
|
}
|
||||||
|
|
||||||
public string Il2CppRepoInstalledVersion
|
public string Il2CppRepoInstalledVersion
|
||||||
{
|
{
|
||||||
get { return EditorPrefs.GetString("il2cpp_plus_repo"); }
|
get { return EditorPrefs.GetString($"il2cpp_plus_repo#{MajorVersion}"); }
|
||||||
set { EditorPrefs.SetString("il2cpp_plus_repo", value); }
|
set { EditorPrefs.SetString($"il2cpp_plus_repo#{MajorVersion}", value); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "com.focus-creative-games.hybridclr_unity",
|
"name": "com.focus-creative-games.hybridclr_unity",
|
||||||
"version": "1.1.15",
|
"version": "1.1.16",
|
||||||
"displayName": "HybridCLR",
|
"displayName": "HybridCLR",
|
||||||
"description": "Unity package for HybridCLR. It includes editor and runtime scripts and assets for HybridCLR",
|
"description": "Unity package for HybridCLR. It includes editor and runtime scripts and assets for HybridCLR",
|
||||||
"category": "Runtime",
|
"category": "Runtime",
|
||||||
|
|
Loading…
Reference in New Issue