Notification Manager
Workflow
A component responsible for managing the notifications. It requires a parent for listing the notification items and a notification button. Supports both pop-up and standard notifications. In order to create a new notification, you need ‘Notification Creator’ component.
API / Scripting
using Michsky.DreamOS; // namespace
public NotificationCreator notificationCreator;
void YourFunction()
{
notificationCreator.notificationTitle = "title"; // Set notification title
notificationCreator.notificationDescription = "description"; // Set notification description
notificationCreator.popupDescription = "description"; // Set popup notification description
notificationCreator.notificationIcon = spriteVariable; // Set notification icon
notificationCreator.enablePopupNotification = true; // Enable or disable popup notification
notificationCreator.popupDescription = "description"; // Set popup notification description
notificationCreator.enableButtonIcon = true;
notificationCreator.CreateButton("title", spriteVariable, null, true); // Create buttons (title, icon, button event, close on click)
notificationCreator.CreateNotification(); // Create a notification depending on variables
}
How can we help?
A premium WordPress theme with an integrated Knowledge Base,
providing 24/7 community-based support.