文档

Unity Engine

Unity Engine

Unregister(Guid, UnityAction<MessageEventArgs>)

Deregisters a registered callback.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Parameters

messageId

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.