by MayStudios Company
WB_MayNotifaction_Panel
to your Main HUD or Main Widget.Size to Content
so it dynamicly changes the size to the number of Notifactions.Aligment
to 1Ă—1 so it points left up.MayPopUp_DefaultSettings
file (DataAsset) located in the MayPopUp/MayPopUp_Settings
Folder of the project.-1
will make the popup display indefinitely until manually dismissed.E_MayPopUp_Type
(for Types) and E_MayPopUp_Theme
(for Themes).MayPopUp_DefaultSettings
Data Asset located in the Settings folder. In the Colors section, expand either Color Types or Color Themes, depending on what you added. Click the + button to add a new map element. Then, select your newly created Type or Theme from the Enum in the dropdown menu, and assign it to a specific color by choosing the desired color from the color picker. This links your custom Type or Theme to the chosen color.1. Send Notification (custom)
This node allows you to create and display notifications with various customizable options: Title: Define the main title of the notification. Description: Provide additional details within the notification. Icon: Attach an icon to visually represent the notification's content. Duration and Closable: Similar to the Send Notification node, you can set the duration and determine if the notification can be closed. Colorize by Type Color: Automatically apply a color to the given Icon based on the notification Type. Type & Theme: Select a visual theme or type from the E_MayPopUp_Theme & E_MayPopUp_Type Enum to style the popup. Override Type & Theme: Optionally override the default theme settings. (If you enable the override, the color underneath) Sounds: With the Sound option you can override the default sound, if you dont select one default sound from MayPopUp_DefaultSettings. Font: Which Font is used in Title and Description.
2. Send PopUp (custom)
This node triggers a popup with extensive customization options, ideal for drawing attention to important messages: Title: Define the main title of the popup. Description: Provide additional details within the popup. Icon: Attach an icon to visually represent the popup's content. Duration and Closable: Similar to the Send Notification node, you can set the duration and determine if the popup can be closed. Colorize by Type Color: Automatically apply a color to the given Icon based on the notification Type. Type & Theme: Select a visual theme or type from the E_MayPopUp_Theme & E_MayPopUp_Type Enum to style the popup. Override Type & Theme: Optionally override the default theme settings. (If you enable the override, the color underneath) Actions: Define interactive elements or buttons within the popup. More About Sounds: With the Sound option you can override the default sound, if you dont select one default sound from MayPopUp_DefaultSettings.
3. Send Notifaction
This node triggers a notifaction with given Values by a Data Asset, to maintain the same style in the whole project: Title: Define the main title of the popup. Description: Provide additional details within the popup. Icon: Attach an icon to visually represent the popup's content. Data Asset: All Values which controll the type of Notifiaction are given by a one time created Data Asset, to maintain the same style in the whole project. If you wanna know more about how to create such Data Assets, just take a small look in "Using Data Assets" Area.
4. Send Pop Up
This node triggers a pop up with given Values by a Data Asset, to maintain the same style in the whole project: Title: Define the main title of the popup. Description: Provide additional details within the popup. Icon: Attach an icon to visually represent the popup's content. Actions: Define interactive elements or buttons within the popup. More About Data Asset: All Values which controll the type of Notifiaction are given by a one time created Data Asset, to maintain the same style in the whole project. If you wanna know more about how to create such Data Assets, just take a small look in "Using Data Assets" Area.
5. Get Theme Color
This node retrieves the color associated with a specific theme, which is defined in the MayPopUp_DefaultSettings, facilitating dynamic theming: Use Case: Useful for dynamically adapting UI elements to match the selected theme, ensuring visual consistency. Theme Selection: Choose from the E_MayPopUp_Theme Enum to get the corresponding color. Color Output: Outputs a Linear Color that can be used to style widgets, backgrounds, or text.
6. Get Type Color
This node retrieves the color associated with a specific type, which is defined in the MayPopUp_DefaultSettings, facilitating dynamic typing: Use Case: Ideal for maintaining color schemes across notifications or UI elements based on the Type. Type Selection: Choose from the E_MayPopUp_Type Enum to get the corresponding color. Color Output: Outputs a Linear Color that can be used to style widgets, backgrounds, or text.
7. Linear Color Scale
This utility node adjusts the intensity of a given color by applying a scaling factor: Practical Usage: Perfect for creating visual feedback effects, like hover states or alerts, by adjusting color brightness. Input Color: Provide a Linear Color to be scaled. Scale Factor: Define a float value to increase or decrease the color's intensity. Output Color: Returns the scaled color, ready to be used in UI or effects.
PDA_May_Notification
: This is used to create Data Assets specifically for notifications.PDA_May_Popup
: This is used to create Data Assets tailored for popups.PDA_May_Notification
class. This will serve as the template for your notifications.Closeable
option to true
to enable a close button.-1
for an infinite duration or specify a duration in seconds. You can also check "Use Default Duration" to apply a system-wide default.PDA_May_Popup
class.Closeable
to add a close button to the popup.SendNotificationDataAsset
or SendPopupDataAsset
. These methods can take parameters such as Title, Description, Icon, and the Data Asset itself. If an icon is specified during the method call, it will override the icon set in the Data Asset. If no icon is specified, the system will use the icon defined in the Data Asset, or if that is also absent, it will fall back on the system default.L_Example_MayPopUp
, and explore the predefined scenarios.