Editor/ChannelServiceAPI.cs
Editor/ChannelServiceExample.cs
Tools/Register Custom Ping Pong Channels
that can be use to restart the server and register all listeners.ChannelClientNodeApp~
contains a node application that will connect to Unity on the specified routes and send a bit of data.ChannelService
will be started (basically the Websocket server will be listening for connection) automatically and some handlers will be registered each domain reload.ChannelServiceAPI
creates a file <UserAppData>/Local/Unity/Editor/ChannelService.info
and writes the address and port in that file.com.unity.channelservice
package.Install nodejs
Open a command console and be sure to cd
to the ChannelClientNodeApp~
. Type node index.js
.
You should see the following: