All-in-One Solution for Indie Game Development · Empowering Indie Developers' Dreams
Documentation · Quick Start · QQ Group · Language: English | 简体中文 | 繁體中文 | 日本語 | 한국어
Network Component - A long-connection network component for Unity that provides network interfaces including TCP, WebSocket, and custom protocol support, making network functionality simpler and more efficient.
- Long-connection network support (TCP / WebSocket)
- RPC call mechanism with timeout handling
- Heartbeat packet mechanism (configurable on focus lost/gained)
- Network message serialization and deserialization
- Network channel management
- Network event system
Choose one of the following methods:
- Add the following to the
dependenciessection of your project'smanifest.json:{"com.gameframex.unity.network": "https://github.com/AlianBlank/com.gameframex.unity.network.git"} - Use
Git URLin Unity's Package Manager: https://github.com/AlianBlank/com.gameframex.unity.network.git - Download the repository and place it in your Unity project's
Packagesdirectory.
// Standard: via GameEntry (no dependency on com.gameframex.unity.entry)
var networkComponent = GameEntry.GetComponent<NetworkComponent>();
networkComponent.Connect("127.0.0.1", 8080);| Platform | Supported |
|---|---|
| Windows | Yes |
| macOS | Yes |
| Linux | Yes |
| Android | Yes |
| iOS | Yes |
| WebGL | Yes |
- QQ Group: Join via QR Code
See CHANGELOG.md for details.
This project is licensed under the terms of the LICENSE file.
