Notifications

Important

If you want to display more than one notification at the same time, then notification container should have layout group component like EasyLayout.

Minimal code

// get notification instance by template name (name of existing GameObject with Notify component).
var notification = notifySample.Clone();
// show notification
notification.Show();

Advanced

var notification = notifySample.Clone();
// show notification
notification.Show(
   // Show notification with following text
   message: "Simple Notification.",
   // Hide it after 4.5 seconds
   customHideDelay = 4.5f,
   // Run specified animation on hide
   hideAnimation = Notify.AnimationCollapse,
   // without SlideUpOnHide
   slideUpOnHide = false
);