Skip to content

Commit

Permalink
[修改]1. 修改宏定义菜单
Browse files Browse the repository at this point in the history
  • Loading branch information
AlianBlank committed Dec 7, 2024
1 parent f8220a2 commit 36dd4e4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Editor/NetworkLogScriptingDefineSymbols.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static class NetworkLogScriptingDefineSymbols
/// <summary>
/// 禁用网络强制为WebSocket脚本宏定义。
/// </summary>
[MenuItem("GameFrameX/Log Scripting Define Symbols/Disable Force WebSocket", false, 105)]
[MenuItem("GameFrameX/Scripting Define Symbols/Disable Force WebSocket", false, 400)]
public static void DisableForceWebSocketNetwork()
{
ScriptingDefineSymbols.RemoveScriptingDefineSymbol(ForceEnableNetworkSendLogScriptingDefineSymbol);
Expand All @@ -31,7 +31,7 @@ public static void DisableForceWebSocketNetwork()
/// <summary>
/// 开启网络强制为WebSocket脚本宏定义。
/// </summary>
[MenuItem("GameFrameX/Log Scripting Define Symbols/Enable Force WebSocket", false, 106)]
[MenuItem("GameFrameX/Scripting Define Symbols/Enable Force WebSocket", false, 401)]
public static void EnableForceWebSocketNetwork()
{
ScriptingDefineSymbols.AddScriptingDefineSymbol(ForceEnableNetworkSendLogScriptingDefineSymbol);
Expand All @@ -40,7 +40,7 @@ public static void EnableForceWebSocketNetwork()
/// <summary>
/// 禁用网络接收日志脚本宏定义。
/// </summary>
[MenuItem("GameFrameX/Log Scripting Define Symbols/Disable Network Receive Logs", false, 100)]
[MenuItem("GameFrameX/Scripting Define Symbols/Disable Network Receive Logs", false, 300)]
public static void DisableNetworkReceiveLogs()
{
ScriptingDefineSymbols.RemoveScriptingDefineSymbol(EnableNetworkReceiveLogScriptingDefineSymbol);
Expand All @@ -49,7 +49,7 @@ public static void DisableNetworkReceiveLogs()
/// <summary>
/// 开启网络接收日志脚本宏定义。
/// </summary>
[MenuItem("GameFrameX/Log Scripting Define Symbols/Enable Network Receive Logs", false, 101)]
[MenuItem("GameFrameX/Scripting Define Symbols/Enable Network Receive Logs", false, 301)]
public static void EnableNetworkReceiveLogs()
{
ScriptingDefineSymbols.AddScriptingDefineSymbol(EnableNetworkReceiveLogScriptingDefineSymbol);
Expand All @@ -58,7 +58,7 @@ public static void EnableNetworkReceiveLogs()
/// <summary>
/// 禁用网络发送日志脚本宏定义。
/// </summary>
[MenuItem("GameFrameX/Log Scripting Define Symbols/Disable Network Send Logs", false, 103)]
[MenuItem("GameFrameX/Scripting Define Symbols/Disable Network Send Logs", false, 200)]
public static void DisableNetworkSendLogs()
{
ScriptingDefineSymbols.RemoveScriptingDefineSymbol(EnableNetworkSendLogScriptingDefineSymbol);
Expand All @@ -67,7 +67,7 @@ public static void DisableNetworkSendLogs()
/// <summary>
/// 开启网络发送日志脚本宏定义。
/// </summary>
[MenuItem("GameFrameX/Log Scripting Define Symbols/Enable Network Send Logs", false, 104)]
[MenuItem("GameFrameX/Scripting Define Symbols/Enable Network Send Logs", false, 201)]
public static void EnableNetworkSendLogs()
{
ScriptingDefineSymbols.AddScriptingDefineSymbol(EnableNetworkSendLogScriptingDefineSymbol);
Expand Down

0 comments on commit 36dd4e4

Please sign in to comment.