ChannelClientScope
Create a new Channel Client scope.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Constructor
- Namespace: UnityEditor.MPE
- Assembly: UnityEditor.CoreModule
ChannelClientScope(bool, string, Action<string>, bool)
Create a new Channel Client scope.
public ChannelClientScope(bool autoTick, string channelName, Action<string> handler, bool closeClientOnExit = true)
Parameters
If true, starts the channel client in auto tick mode.
Name of the channel to open.
Handler to process message on the channel.
If true, closes the client on exit.
ChannelClientScope(bool, string, Action<byte[]>, bool)
Create a new Channel Client scope.
public ChannelClientScope(bool autoTick, string channelName, Action<byte[]> handler, bool closeClientOnExit = true)
Parameters
If true, starts the channel client in auto tick mode.
Name of the channel to open.
Handler to process message on the channel.
If true, closes the client on exit.