ChannelClientScope
Create a new Channel Client scope.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Constructor
- Namespace: UnityEditor.MPE
- Assembly: UnityEditor
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.