A downloadable asset pack for Windows, macOS, Linux, and Android

Download NowName your own price

Easily display Game state information like achievements with Easy Notifications. This package is meant to be completely customisable and easy to implement to your UI Manager.

How it works

Easy notifications is meant to be added as a property in your UI Manager or Game Manager.

In coding you can use the Notification class combined with AddNotification from NotificationSystem to display a notification.

To customisable the looks and add more features you can use the NotificationArrager class witch controls the states of a notification. The states a Notification has are:

  • NotDisplayed
  • StartingDiplay
  • Displayed
  • EndingDisplay

In each state you are able to add extra functionality like diagnostics.

Setup

In your UI Manager add a public NotificationSystem property: public NotificationSystem notificationSystem;

In the editor, go to the inspector window of your GameObject You'll see a new field called Notification System click on it to reveal it's properties.

In here you can change the following:

  • Timeout between Notifications
  • Time of the notification to remain on screen
  • Enable or disable the system
  • Prefab to use (USE PROVIDED "NOTIFICATIONS" PREFAB)

Both timers and enable toggles can be change via code. The package provides an example for each method.

Reference

void Initialize() void Dispose() void SetActive(bool active) void TestNotification() float GetDuration() float GetTimeout() void SetDuration(float time) void SetTimeout(float time) void AddNotification(Notification notification) Queue<Notification> GetQueue()<br>

<br><p>This software is protected under the MIT License</p><br>


Download

Download NowName your own price

Click download now to get access to the following files:

EasyNotifications (Unity Project) 84 kB
EasyNotifications (Unity Package) 91 kB

Development log

Leave a comment

Log in with itch.io to leave a comment.