Ejemplo n.º 1
0
        /// <summary>
        /// Removes all of the dialog from the state.
        /// </summary>
        public void ClearDialog()
        {
            Dialog.Clear();

            OnClear?.Invoke(ClearType.Dialog);
            OnClearDialog?.Invoke();
        }
Ejemplo n.º 2
0
        /// <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();
        }