/// <summary> /// Shows the pop up. /// </summary> /// <author> /// Bryce McLane /// </author> /// <date> /// 11/28/2018 /// </date> public async Task ShowPopUpView(string key) { if (_popUps.Count == 0) { return; } if (!_popUps.ContainsKey(key)) { return; } _currentlyOpen = _popUps[key]; _currentlyOpen.IsVisible = true; _currentlyOpen.Opacity = 1; PopUpOpen = true; PopUpOpened?.Invoke(this, System.EventArgs.Empty); }
public void Open() { popUpCanvas.SetActive(true); PopUpOpened?.Invoke(); }