/// <summary> /// Hides the pop up. /// </summary> /// <author> /// Aaron Coppock /// </author> /// <date> /// 11/28/2018 /// </date> public async Task HidePopUpView() { if (_currentlyOpen == null) { return; } try { _currentlyOpen.Opacity = 0; _currentlyOpen.IsVisible = false; PopUpOpen = false; PopUpClosed?.Invoke(this, System.EventArgs.Empty); _currentlyOpen = null; } catch { // Swalllow } }
public void Close() { popUpCanvas.SetActive(false); PopUpClosed?.Invoke(); }