Beispiel #1
0
        public void Show(string message, Sprite icon)
        {
            Free = false;
            notifMessage.text = message;
            timeStamp.text    = GameTime.Clock.CurrentTimeFormat;

            if (icon != null)
            {
                notifIcon.sprite = icon;
            }

            notifIcon.gameObject.SetActive(icon != null);

            _popup.Show(null);
        }
Beispiel #2
0
 private void Show(UnityAction action = null) => storePopup.Show(() => basketPopup.Show(action));