feat(gameplay): 更新单位属性和材质配置 - 调整多个单位的基础生命值和攻击力数值平衡 - 修改CoreBattleGround材质的纹理缩放比例 - 更新地砖材质颜色为白色 - 优化纹理资源设置,调整最大纹理尺寸并添加PlayableAds平台支持 - 修复弓箭手技能目标查找逻辑,改用统一的敌人检测方法 - 为水晶矿添加中立阵营设置和光球视觉效果同步 - 调整预制体中的全局缩放参数 - 为狼人和石巨人添加NavMeshAgent组件支持 - 优化水晶矿血条显示位置计算方式 ```
2.0 KiB
2.0 KiB
TCP Bridge UI Windows
This folder contains Unity Editor windows for managing the TCP Bridge server.
Windows Overview
TcpBridgeControlWindow
Access: Tools > Codely Bridge > Control Window
The main control panel for managing the TCP Bridge server. Features:
- Server Status: Real-time status display with visual indicators
- Server Controls: Start, Stop, and Restart buttons
- Configuration: Debug logging toggle
- Port Management: View current port, discover new ports, check availability
- Debug Information: System info and console access
TcpBridgeStatusWindow
Access: Tools > Codely Bridge > Status Window
A compact status window that can be docked anywhere in Unity for quick monitoring:
- Status Indicator: Running/Stopped with port information
- Quick Controls: Start/Stop buttons
- Control Window Access: Quick link to full control window
TcpBridgeMenuItems
Access: Tools > Codely Bridge > [various options]
Menu items for quick operations:
- Start Server - Start the TCP bridge
- Stop Server - Stop the TCP bridge
- Restart Server - Restart the TCP bridge
- Show Server Status - Display status dialog
- Discover New Port - Find and optionally switch to new port
- Enable/Disable Debug Logging - Toggle debug output
Usage Tips
- First Time Setup: The TCP bridge starts automatically when Unity loads
- Status Monitoring: Keep the Status Window docked for quick monitoring
- Port Issues: Use "Discover New Port" if you encounter port conflicts
- Debugging: Enable debug logging when troubleshooting connection issues
- Menu Access: Use keyboard shortcuts or menu items for quick operations
Integration
All windows are designed to work together:
- Status Window → Control Window (full features)
- Menu Items → Quick operations without opening windows
- Control Window → Comprehensive management interface
The UI automatically updates to reflect the current server state and provides consistent feedback across all interfaces.