EZNotifications UE Plugin
  • Overview
    • 👋Welcome!
    • 🔗Links
  • Getting Started
    • 📺Getting Started Tutorial
    • Setup UMG
    • Add Animations
    • Show Notification
    • Show Alert
    • Concurrent Notifications
    • Duration timeline
  • Info
    • Logging
    • NotificationSubsystem
    • NotificationSettings struct
    • ⚙️Plugin Settings
Powered by GitBook
On this page
  • Blueprint
  • C++
  1. Getting Started

Show Notification

PreviousAdd AnimationsNextShow Alert

Last updated 1 year ago

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

C++

UNotificationSubsystem::ShowNotification(UObject* WorldContextObject, UNotificationWidget* NewNotification)
The design is only for demonstrating the plugin functionalities.
This is for demonstration purposed only. You should inherit NotificationWidget in your user widget and pass it in the class input.