Over 11,000 five-star assets
Rated by 85,000+ customers
Supported by 100,000+ forum members
Every asset moderated by Unity
Unity Version | Built-in | URP | HDRP |
---|---|---|---|
2021.3.35f1 | Compatible | Compatible | Compatible |
Please backup your own project, remove Root Folder "FMWebSocket" before import.
It's a Major upgrade from FMWebSocket 2.0, Clean import is required.
-> Anyone purchased V2: 30% off upgrade fee
Webpage | Main Forum | Youtube | Twitter | Facebook
FM WebSocket 4.0 is a plugin for Unity3D, which provides you a simple, flexible and reliable networking solution using WebSocket. It’s compatible with our popular full package “FMETP STREAM”.
It’s a cross-platform networking solution, which is focusing on Internet stream via node.js server, involves the key features below:
# Public Network Connection
# Simple Send & Receive with Message or Byte[]
# Server <=> Clients
# General Send Type: All, Server, Others, Target
# Cross Platform: iOS/Android/Mac/PC/Linux/UWP…etc
# All Written in C#, easy to modify if necessary
New Features:
Room system
*previous network type(Server, Client) is replaced by network type(Room)
WebSocket Networking With Simple Commands:
- send commands:
SendToAll("Hello World");
SendToOthers("Hello World");
SendToServer("Hello World");
SendToTarget("Hello World", "wsid");
SendToAll(byte[]);
SendToOthers(byte[]);
SendToServer(byte[]);
SendToTarget(byte[], "wsid");
- connection commands:
Action_JoinOrCreateRoom("MyRoomTest");
Action_Close();
Action_RequestRoomMaster();
Example of sending in one line function:
FMWebSocketManager.instance.SendToAll("Hello World");
FMWebSocketManager.instance.SendToTarget("Hello World", "xxxxyyyy-zzzz");
Support: thelghome@gmail.com
#######################
This asset uses 1) websocket-sharp under The MIT License (MIT);see Third-Party Notices.txt file in package for details.
FM WebSocket 4.0
