Ejemplo n.º 1
0
        /// <summary>
        /// Queues a notification.
        /// </summary>
        /// <param name="text">The notification text.</param>
        /// <param name="image">The notification image.</param>
        public void QueueNotification(string text, Sprite image)
        {
            var notification = new Objects.Notification(text, image);

            QueueNotification(notification);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Queues a notification.
 /// </summary>
 /// <param name="notification">The <see cref="Objects.Notification"/>.</param>
 public void QueueNotification(Objects.Notification notification)
 {
     notificationCentre.QueueNotification(notification);
 }
Ejemplo n.º 3
0
        /// <summary>
        /// Queues a notification.
        /// </summary>
        /// <param name="text">The notification text.</param>
        public void QueueNotification(string text)
        {
            var notification = new Objects.Notification(text);

            QueueNotification(notification);
        }