IMessageBus::Unsubscribe

Cancels the specified message subscription.

Windows
MacOS
Linux

References

Module

Messaging

Header

/Engine/Source/Runtime/Messaging/Public/IMessageBus.h

Include

#include "IMessageBus.h"

Syntax

void Unsubscribe
(
    const TSharedRef< IMessageReceiver, ESPMode::ThreadSafe > & Subscriber,
    const FName & MessageType
)

Remarks

Cancels the specified message subscription.

Parameters

Parameter

Description

Subscriber

The subscriber wishing to stop receiving the messages.

MessageType

The type of messages to unsubscribe from (NAME_All = all types).

See Also

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss