FM WebSocket 6 OFFICIAL SALE

Webpage | Main Forum | Youtube | Twitter | Facebook

FM WebSocket 6 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

# Transformation Sync support

# RPC function calling method support

# 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();


// How to Instaniate NetworkObject

FMWebSocketManager fmwebsocket = new FMWebSocketManager();

//prefab_FMWebSocketView should be located in Resource folder

FMWebSocketView websocketView = FMWebSocketManager.InstaniateNetworkObject(prefab_FMWebSocketView.gameObject.name, delegate (FMWebSocketView _callbackView) { } );


// How to use RPC function calling method via networked object with FMWebSocketView

FMWebSocketView websocketView;

websocketView.RPC_SEND(this, () => PRC_SyncID(inputID), FMSendType.All);

public void PRC_SyncID(int inputID)

{

Debug.Log("Received ID: " + inputID);

}


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.