Notification displays a small popup message with a title, description, and optional icon. The component is ideal for toast messages, alerts, quick tips, or system notifications.
Notifications can open automatically on enable or be opened manually. Closing can happen automatically after a delay or be triggered through script.
You can create the object, call Open() to show the notification, and Close() to hide it.
using UnityEngine;using Evo.UI;public class NotificationExample : MonoBehaviour{ public Notification notif; void Start() { // Change content notif.SetContent(infoIcon, "Saved", "Your settings have been saved."); // Open notification notif.Open(); // Or close manually notif.Close(); // Force close instantly notif.ForceClose(); }}