1
This commit is contained in:
@@ -30,11 +30,11 @@ namespace Stary.Evo.Editor
|
|||||||
[MenuItem(EditorNotMode, true)]
|
[MenuItem(EditorNotMode, true)]
|
||||||
private static bool ValidateModeMenu()
|
private static bool ValidateModeMenu()
|
||||||
{
|
{
|
||||||
string platform = EditorPrefs.GetString("ChangeHotUpdateSchema");
|
string platform = EditorPrefs.GetString("ChangePoindClondSchema");
|
||||||
Menu.SetChecked(EditorNotMode, platform == HotUpdateMode.NotUpdate.ToString());
|
Menu.SetChecked(EditorNotMode, platform == PointClondMode.NotPointClond.ToString());
|
||||||
Menu.SetChecked(EditorImmersalMode, platform == HotUpdateMode.HotUpdate.ToString());
|
Menu.SetChecked(EditorImmersalMode, platform == PointClondMode.Immersal.ToString());
|
||||||
//Menu.SetChecked(WebPlayMode, platform == HotUpdateMode.WEB_PLAYMODE.ToString());
|
//Menu.SetChecked(WebPlayMode, platform == HotUpdateMode.WEB_PLAYMODE.ToString());
|
||||||
Debug.LogError("ChangeHotUpdateSchema");
|
Debug.LogError("ChangePoindClondSchema");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -54,7 +54,7 @@ namespace Stary.Evo.Editor
|
|||||||
PlayerSettings.SetScriptingDefineSymbolsForGroup(currentTarget, string.Join(";", defines));
|
PlayerSettings.SetScriptingDefineSymbolsForGroup(currentTarget, string.Join(";", defines));
|
||||||
Debug.Log($"当前编译符号: {string.Join(";", defines)}"); // 添加调试日志
|
Debug.Log($"当前编译符号: {string.Join(";", defines)}"); // 添加调试日志
|
||||||
_pointClondMode = mode;
|
_pointClondMode = mode;
|
||||||
EditorPrefs.SetString("ChangeHotUpdateSchema", _pointClondMode.ToString());
|
EditorPrefs.SetString("ChangePoindClondSchema", _pointClondMode.ToString());
|
||||||
|
|
||||||
ValidateModeMenu();
|
ValidateModeMenu();
|
||||||
AssetDatabase.Refresh();
|
AssetDatabase.Refresh();
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "com.staryevo.main",
|
"name": "com.staryevo.main",
|
||||||
"version": "2.0.1",
|
"version": "2.0.2",
|
||||||
"displayName": "00.StaryEvo",
|
"displayName": "00.StaryEvo",
|
||||||
"description": "This is an Framework package(后台服务器版本,端口9527)",
|
"description": "This is an Framework package(后台服务器版本,端口9527)",
|
||||||
"unity": "2021.3",
|
"unity": "2021.3",
|
||||||
|
|||||||
Reference in New Issue
Block a user