public void Unregister (Guid messageId, UnityAction<MessageEventArgs> callback);

Parameters

messageIdMessage ID associated with the callback that you wish to deregister.
callbackThe 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.