/// <summary> /// Removes all of the dialog from the state. /// </summary> public void ClearDialog() { Dialog.Clear(); OnClear?.Invoke(ClearType.Dialog); OnClearDialog?.Invoke(); }
/// <summary> /// Removes all of the dialog and choices from the state. /// </summary> public void ClearAll() { Dialog.Clear(); Choices.Clear(); OnClear?.Invoke(ClearType.All); OnClearAll?.Invoke(); OnClearDialog?.Invoke(); OnClearChoices?.Invoke(); }