All-in-One Solution for Indie Game Development · Empowering Indie Developers' Dreams
Documentation · Quick Start · QQ Group: 467608841 / 233840761
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)
- Pluggable message serialization (
IMessageSerializerinterface) with two-level registration (global default + per-channel override) - Network message serialization and deserialization
- Network channel management
- Network event system
Choose one of the following methods:
-
Edit your Unity project's
Packages/manifest.jsonand add thescopedRegistriessection:{ "scopedRegistries": [ { "name": "GameFrameX", "url": "https://gameframex.upm.alianblank.uk", "scopes": [ "com.gameframex" ] } ], "dependencies": { "com.gameframex.unity.network": "2.6.6" } }scopescontrols which packages are resolved through this registry. Only packages whose names start withcom.gameframexwill be fetched from it. -
Add to
manifest.jsondependencies:{ "com.gameframex.unity.network": "https://github.com/gameframex/com.gameframex.unity.network.git" } -
Use Package Manager in Unity with Git URL:
https://github.com/gameframex/com.gameframex.unity.network.git -
Clone the repository into your Unity project's
Packagesdirectory. It will be loaded automatically.
| 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.
| Package | Description |
|---|---|
com.gameframex.unity |
1.1.1 |
com.gameframex.unity.event |
1.0.0 |
See LICENSE.md for license information.