Unregister(Guid, UnityAction<MessageEventArgs>)
Deregisters a registered callback.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.Networking.PlayerConnection
- Assembly: UnityEditor
public void Unregister(Guid messageId, UnityAction<MessageEventArgs> callback)
Parameters
Message ID associated with the callback that you wish to deregister.
The Action callback you wish to deregister.
Remarks
Only deregisters the callback that is matched with the given message ID and given Action.