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

パラメーター

messageIdMessage ID associated with the callback that you wish to deregister.
callbackThe associated callback function you wish to deregister.

説明

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.