Skip to content

3d-group/unity-simple-notifications

Repository files navigation

Unity simple notifications

Simple but powerful UI notifications package for Unity game engine.

Usage

Usage:

  1. Right click scene hierarchy
  2. Click UI/Notifications

HowTo

Now you can send Notifications from your script like this:

Notifications.Send("Hello world");

Notification

Performance and thread safe 🚀

Here is how it looks when billion notifications are sent simultaneously from another thread:

Notification

Try it yourself! Code:

using UnityEngine;
using System.Threading;
using Group3d.Notifications;

public class TEST : MonoBehaviour
{
    private void Start()
    {
        new Thread(() =>
        {
            Thread.CurrentThread.IsBackground = true;
            var r = new System.Random();
            int counter = 0;
            while (counter < 1000000000)
            {
                Notifications.Send($"Test {r.Next(0, 10000)}");
                counter++;
            }
        }).Start();
    }
}

About

Simple UI notifications package for Unity game engine

Topics

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Contributing

Stars

Watchers

Forks

Languages