Skip to content

GameFrameX/com.gameframex.unity.network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

218 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GameFrameX Logo

Game Frame X Network

Version License Documentation

All-in-One Solution for Indie Game Development · Empowering Indie Developers' Dreams

Documentation · Quick Start · QQ Group · Language: English | 简体中文 | 繁體中文 | 日本語 | 한국어


Project Overview

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.

Features

  • 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

Quick Start

Installation

Choose one of the following methods:

  1. Add the following to the dependencies section of your project's manifest.json:
    {"com.gameframex.unity.network": "https://github.com/AlianBlank/com.gameframex.unity.network.git"}
  2. Use Git URL in Unity's Package Manager: https://github.com/AlianBlank/com.gameframex.unity.network.git
  3. Download the repository and place it in your Unity project's Packages directory.

Usage Examples

// Standard: via GameEntry (no dependency on com.gameframex.unity.entry)
var networkComponent = GameEntry.GetComponent<NetworkComponent>();
networkComponent.Connect("127.0.0.1", 8080);

Platform Support

Platform Supported
Windows Yes
macOS Yes
Linux Yes
Android Yes
iOS Yes
WebGL Yes

Documentation & Resources

Community & Support

Changelog

See CHANGELOG.md for details.

License

This project is licensed under the terms of the LICENSE file.

Packages

 
 
 

Contributors

Languages