
Astras-Notification-Lib
ChudOS Copyed lib
Project documentation
Astra's Notification Library
A simple and lightweight notification (toast) library for Unity IMGUI.
Display clean toast notifications in the bottom-right corner of the screen with a single line of code.
-----------------------------------------------------------------
Features
Lightweight
Installation
Download the latest release and add the DLL to your Unity project.
Then import the library:
using Astras_Notification_Lib.Libraries;
Showing a Notification
Display a notification for the default 5 seconds.
NotifiLib.MessageToast("Hello World!");
Custom Duration
Display a notification for a custom amount of time (milliseconds).
NotifiLib.MessageToast("Downloading...", 3000);
NotifiLib.MessageToast("Download Complete!", 7000);
Example MonoBehaviour
using UnityEngine;
using UnityEngine.InputSystem;
using Astras_Notification_Lib.Libraries;
public class Example : MonoBehaviour
{
private void Update()
{
if (Keyboard.current.nKey.wasPressedThisFrame)
{
NotifiLib.MessageToast("Hello from Astra's Notification Library!");
}
}
}BepInEx Dependency (Recommended)
If you're using this library in a BepInEx plugin, add the following dependency to your plugin class:
[BepInDependency("Astras.Mods.ChudOS.Notifications", BepInDependency.DependencyFlags.SoftDependency)]
Example:
using BepInEx;
[BepInPlugin("com.example.myplugin", "My Plugin", "1.0.0")]
[BepInDependency("Astras.Mods.ChudOS.Notifications", BepInDependency.DependencyFlags.SoftDependency)]
public class Plugin : BaseUnityPlugin
{
// Your plugin code here...
}Using a SoftDependency allows your plugin to load even if the notification library is not installed. If the library is present, you can safely use:
NotifiLib.MessageToast("Hello World!");
-----------------------------------------------------------------
License
Feel free to use this library in your own Unity projects.
Credit is appreciated but not required.
Made with ❤️ by Astra
Releases & changelogs
ChudOS Notifications
OS · 2026-07-20
Release notes
Astra's Notification Library
Version: 0.0.1
This is a simple notification library for you to use.
Works with ANY unity game that supports BepinEx.
Photo
In Beta use:
In Mod use:
Full Changelog: https://github.com/ASTRA228b/Astras-Notification-Lib/commits/OS
Public GitHub metadata is cached for up to an hour. Saved snapshots are used during outages. Nothing here verifies current-game compatibility.