Exemplo n.º 1
0
    public void QueueNotification(string title, string description, GameNotificationType notificationType)
    {
        GameNotificationItem notification = new GameNotificationItem();

        notification.title            = title;
        notification.description      = description;
        notification.notificationType = notificationType;
        UIGameNotification.Instance.QueueNotification(notification);
    }
        /// <summary>Adds a notification with given description</summary>
        public void AddNotification(GameNotificationType notificationType)
        {
            DisplayInfo info = displayInfoPairs[notificationType];

            NotificationUtility.Instance.Notify(info.ShortMessage, NotificationStayTime.Average, info.Sprite);
        }
Exemplo n.º 3
0
 public void AddNotification(GameNotificationType notificationType)
 {
     gameNotificationSystem.AddNotification(notificationType);
 }