using System.Collections; using System.Collections.Generic; using UnityEngine; using SiegeSong; namespace SiegeSong { public class NotificationManager : MonoBehaviour { public HUDManager hudManager; public void Notify(string notificationText, string subtext = "", bool bigNotification = false, bool debug = false) { if (!debug) { if (bigNotification) { //hudManager.BigNotificationTitle = notificationText; //hudManager.BigNotificationSubtitle = subtext; hudManager.DisplayUIGroup(HUDGroup.BigNotificationArea); } else { hudManager.Notification = notificationText; hudManager.DisplayUIGroup(HUDGroup.NotificationArea); } } } void Start() { } void Update() { } } }