public void QueueNotification( string title, string description, double score, UINotificationTipType notificationType) { QueueNotification(title, description, score, notificationType, false); }
public void QueueNotification( string title, string description, double score, UINotificationTipType notificationType, bool immediate) { UINotificationTipItem notification = new UINotificationTipItem(); notification.title = title; notification.description = description; notification.notificationType = notificationType; notification.score = score.ToString("N0"); notification.immediate = immediate; QueueNotification(notification); }
public void ShowNotificationContainerType(UINotificationTipType type) { if (type == UINotificationTipType.Achievement) { GameObjectHelper.ShowObject(notificationContainerAchievement); } else { GameObjectHelper.HideObject(notificationContainerAchievement); } if (type == UINotificationTipType.Point) { GameObjectHelper.ShowObject(notificationContainerPoint); } else { GameObjectHelper.HideObject(notificationContainerPoint); } if (type == UINotificationTipType.Error) { GameObjectHelper.ShowObject(notificationContainerError); } else { GameObjectHelper.HideObject(notificationContainerError); } if (type == UINotificationTipType.Tip) { GameObjectHelper.ShowObject(notificationContainerTip); } else { GameObjectHelper.HideObject(notificationContainerTip); } if (type == UINotificationTipType.Info) { GameObjectHelper.ShowObject(notificationContainerInfo); } else { GameObjectHelper.HideObject(notificationContainerInfo); } }