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); }
public void AddNotification(GameNotificationType notificationType) { gameNotificationSystem.AddNotification(notificationType); }