/// <summary> /// Removes all of the choices from the state. /// </summary> public void ClearChoices() { Choices.Clear(); OnClear?.Invoke(ClearType.Choices); OnClearChoices?.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(); }