Show Notification

The design is only for demonstrating the plugin functionalities.

When you want to show a notification, you only need to call and use the ShowNotification function and connect your user widget of type NotificationWidget to the function's input.

Use the native UE function CreateWidget to create a notification widget.

NotificationWidget has 2 parameters that are exposed on spawn dedicated to override the default settings of the notification if you need to do so.

  • Override Settings - Make a new NotificationSettings struct with your desired settings.

  • Use Override Settings - To override the settings tick this boolean.

This will allow you to have default settings for each notification while allowing you to override them if you need to.

Blueprint

This is for demonstration purposed only. You should inherit NotificationWidget in your user widget and pass it in the class input.

C++

UNotificationSubsystem::ShowNotification(UObject* WorldContextObject, UNotificationWidget* NewNotification)

Last updated