Michsky – Docs Michsky – Docs
  • Home
  • Documentation
    • Reach UI
    • DreamOS
    • Modern UI Pack
    • Motion Titles Pack
    • Dark UI
    • Loading Screen Studio
  • Contact
Michsky – Docs Michsky – Docs
Michsky – Docs
  • Home
  • Documentation
    • Reach UI
    • DreamOS
    • Modern UI Pack
    • Motion Titles Pack
    • Dark UI
    • Loading Screen Studio
  • Contact

DreamOS

  • Quick Start
  • How To (FAQs)
  • UI Elements
    • Changing Content
    • DreamOS UI Elements
  • Apps & Windows
    • App Library
    • Creating New Apps
    • Deleting Apps
    • Commander
    • Mail
    • Messaging
    • Music Player
    • Notepad
    • Photo Gallery
    • Reminder
    • Settings
    • Video Player
    • Web Browser
  • Managers
    • Audio Manager
    • Boot Manager
    • Date & Time
    • Events
    • Mod Manager
    • Multi Instance Manager
    • Network Manager
    • Notification Manager
    • User Manager
    • Widget Manager
    • World Space Manager
    • Window Manager
    • Wallpaper Manager
  • Others & Add-ons
    • Steam Messaging
  1. Home
  2. Docs
  3. DreamOS
  4. Managers
  5. Notification Manager
Updated on April 3, 2022

DreamOS

  • Quick Start
  • How To (FAQs)
  • UI Elements
    • Changing Content
    • DreamOS UI Elements
  • Apps & Windows
    • App Library
    • Creating New Apps
    • Deleting Apps
    • Commander
    • Mail
    • Messaging
    • Music Player
    • Notepad
    • Photo Gallery
    • Reminder
    • Settings
    • Video Player
    • Web Browser
  • Managers
    • Audio Manager
    • Boot Manager
    • Date & Time
    • Events
    • Mod Manager
    • Multi Instance Manager
    • Network Manager
    • Notification Manager
    • User Manager
    • Widget Manager
    • World Space Manager
    • Window Manager
    • Wallpaper Manager
  • Others & Add-ons
    • Steam Messaging

Notification Manager

Author: admin 157 views

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.

Content

© 2023 Michsky