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); }
private void Show(UnityAction action = null) => storePopup.Show(() => basketPopup.Show(action));