Unregister(Guid, UnityAction<MessageEventArgs>)
Deregisters a registered callback.
Read time 1 minuteLast updated 12 days ago
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.