By Maxime Argon
Display Unreal native editor notifications, with all the customization you want
From the engine menu, open the 'Plugins' window.
Search for the 'Editor Notifications' plugin.
The plugin will be installed only after the editor restarted.
This is an editor-only notification system, exposing Unreal notifications C++ functions to blueprint. Notifications won't work at runtime.
Once the plugin installed, you can reach the testing widget under Plugins/Editor Notifications Content. (make sure that 'Show Plugin Content' is set to true in your content drawer settings)
Right click on the Widget, and select 'Run Editor Utility Widget'.
You should now see the testing widget on your screen.
Go ahead and play with it!
You have access to 2 new nodes.
A simple and advanced version of the notification displayer.
The Advanced one allows you to choose what parameters you want to display in the node.
It works as a switch button, to display or hide the parameters.
Use the Notification Handle (from both simple or advanced node) to perform updates on process.
You can update the text content, the state, or kill the notification while updating its state.
🚨 Note that some parameters can take over other ones. You cannot have every 'Additional feature' (hyperlink, checkbox, buttons, etc...) displayed at once on a single notification.
Message (Text)
The main text for the notification.
Sub Text (Text)
Additional text displayed under the main message.
Completion State (Enum)
None, Pending, Success, or Fail (Mirrors SNotificationItem::ECompletionState).
Use Success Fail Icons (Boolean)
Whether to automatically show a success or fail icon.
Use Throbber (Boolean)
Whether to show the spinning throbber.
Fire And Forget (Boolean)
When true, automatically closes after 'ExpireDuration'.
Allow Throttle When Frame Rate Is Low (Boolean)
Whether to throttle animation at low FPS.
Fade In Duration (Float)
Duration of the fade-in animation.
Expire Duration (Float)
How long until the notification starts to fade out.
Fade Out Duration (Float)
Duration of the fade-out animation.
Width Override (Float)
Optional fixed width for the notification (0 to ignore).
Display Icon (Texture 2D Object)
Optional texture for a custom icon.
Buttons (Array of Struct)
An array of 'FEditorNotificationButtonInfo' button definitions (text, tooltip, BP delegate).
Show Check Box (Boolean)
Whether to show a check box on this notification.
Check Box Text (Text)
The label text displayed beside the check box.
Initially Checked (Boolean)
True if the check box should appear checked by default.
On Check Box State Changed (Delegate)
Delegate called when the check box is toggled (receives a bool).
Show Hyperlink (Boolean)
Whether to show a hyperlink in the notification.
Hyperlink Text (Text)
The text displayed for the hyperlink.
On Hyperlink Clicked (Delegate)
Delegate called when the hyperlink is clicked.
Show Copy To Clipboard (Boolean)
Whether to show a "Copy to Clipboard" link that copies Message+SubText.
Return Value (Editor Notification Handle)
A handle that can be stored in Blueprint. If still valid, allows updating or closing the notification.
Tool made by Maxime Argon.