View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0
- Last updated
- First released
- Unity version
- 2022.3.12 or later
- Package size
- 125 KB
- Files
- 14
- Favorites
- 4
- Views in the past week
- 4
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $4.99 on
Keywords
Toastify
Enhance your Game user experience with Toastify, providing a visually appealing and user-friendly way to communicate important information within your application.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 4
Toastify screenshot 1
About this asset
Toastify is a lightweight and customizable toast notification system. Toast notifications serve as unobtrusive, transient messages that provide users with information about specific events or actions within the application.
Enhance your Game user experience with Toastify, providing a visually appealing and user-friendly way to communicate important information within your application.
Features:
- Simple Integration: Easily integrate toast notifications into your Unity project with minimal setup.
- Customization Options: Customize the appearance and behavior of toasts, including position, duration, title, and type.
Customize the appearance of toast cards with new color options.
- background: Set the background color of the toast card.
- textColor: Define the text color of the toast card.
- Flexible Toast Types: Define different toast types, each associated with a distinct color and icon, such as Success, Error, Warning, and Information.
- Event Hooks: Attach callbacks to toast events, such as on open and on close, to execute specific actions based on user interactions.
- Position Control: Choose from four predefined positions (TopLeft, TopRight, BottomLeft, BottomRight) to display toasts where they best fit your UI.
- Cancellable Toasts:
- Introducing the ability to cancel specific toasts based on their unique identifiers.
- Use ToastifyManager.CancelToast(string id) to programmatically cancel and remove a specific toast by providing its ID.
- Returns true if the toast is successfully canceled, and false if the specified toast ID is not found.
From the publisher's Asset Store listing.
Technical details
Getting Started
Download and Import: Download the Toastify Unity Package and import it into your Unity project.
Setup in Scene:
- Create an empty GameObject in your scene.
- Attach the ToastifyManager script to the GameObject.
Displaying Toasts:
- Use ToastifyManager.Toast("Your Message", yourToastOptions) to display toasts.
- Customize toast options such as title, type, delay, and callbacks.
Example
// Display a success toast
ToastifyManager.Toast("Operation successful!", new ToastOptions { type = ToastType.Success });
// Display a warning toast with custom options
ToastOptions warningOptions = new ToastOptions
{
title = "Warning",
type = ToastType.Warning,
delay = 2f,
closeOnClick = false
};
ToastifyManager.Toast("This is a warning message.", warningOptions);
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 2022.3.12f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.