This commit is contained in:
2026-07-20 02:52:51 +08:00
parent aba7dc924a
commit 46c43e43bf
8 changed files with 43 additions and 10 deletions
+1 -1
View File
@@ -363,7 +363,7 @@ namespace Assets.MyGame.Scripts.Net
#endif
//这里之后补弹窗
UIManager.Instance.ShowBoardError("错误代码:" + code + "错误信息:" + message);
UIManager.Instance.ShowBoardError(message);
}
}
}
@@ -214,9 +214,9 @@ namespace Assets.MyGame.Scripts.Net
#if UNITY_EDITOR
Debug.LogWarning($"[WebSocket] {type} 未连接,无法发送消息" + msg);
UIManager.Instance.ShowBoardError($"[WebSocket] {type} 未连接,无法发送消息");
#endif
UIManager.Instance.ShowBoardError($"[WebSocket] {type} 未连接,无法发送消息");
}
}
@@ -583,7 +583,7 @@ namespace Assets.MyGame.Scripts.Net
string roomName = GameManager.Instance.gameData.currRoomData?.roomName ?? "";
string roomLevel = GameManager.Instance.gameData.currRoomData?.roomLevel.ToString() ?? "";
string msgText = $"恭喜用户{userName} 在 {roomName} {roomLevel}场 捕获了{fishId}*{gold}倍";
UIManager.Instance.ShowBoardGongGao(msgText);
//UIManager.Instance.ShowBoardGongGao(msgText);
}
break;