PlayerConnection.Unregister
public void Unregister(Guid messageId,
UnityAction<MessageEventArgs> callback);
Parameters
| messageId | Message ID associated with the callback that you wish to deregister. | |
| callback | The associated callback function you wish to deregister. |
Description 描述
Deregisters a message listener.
Only deregisters the callback that is matched with the message ID and callback. Other registered callbacks with the same message ID are unaffected.