/// <summary> /// Dismisses the popup (needs to be executed when the popup isnt sucsessfull but also didn't cancel) /// </summary> public virtual void ExecuteDismiss() { if (!Interactable) { return; } Interactable = false; DismissEvent?.Invoke(); Destroy(); }
private void DismissButtonOnclick() { DismissEvent?.Invoke(Quest); ToggleVisual(false); }