Added support for sending data that is decoupled from Netick main packets, directly using the transport.

- added `SendData` to `NetworkConnection`.
- added `OnDataReceived` to `Sandbox.Events`.
- added `SendUserData` to `TransportConnection`.
This commit is contained in:
Karrar
2024-05-12 01:55:49 +03:00
parent 957fed25e0
commit 1a598bdc52
10 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -22,7 +22,7 @@ Netick is a server-authoritative C#/.NET networking solution for Unity, and, in
### Prerequisites ### Prerequisites
Unity Editor version 2021 or later. Unity Editor 2021 or later.
### Steps ### Steps

View File

@@ -1,6 +1,6 @@
{ {
"name": "com.karrar.netick", "name": "com.karrar.netick",
"version": "0.11.47", "version": "0.11.50",
"displayName": "Netick", "displayName": "Netick",
"description": "A networking library for unity", "description": "A networking library for unity",
"unity": "2021.3", "unity": "2021.3",