/// <summary>
        /// Selection next button on the list. Ignores noninteractable buttons.
        /// </summary>
        /// <param name="h"></param>
        public override void SelectNext(ISelectionHighlighter h)
        {
            do
            {
                if (Pointer == -1)
                {
                    DisplayManager.ReleaseNotification();
                }

                Pointer++;
                if (ShouldReset())
                {
                    ResetSelection();
                    Pointer++;
                }
            } while (!Selection[Pointer].IsInteractable());

            h.Highlight(Selection[Pointer].gameObject);
        }
Exemple #2
0
 public override void SelectNext(ISelectionHighlighter h)
 {
     Menu.SelectNext(h);
 }
Exemple #3
0
 public override void SelectNext(ISelectionHighlighter h)
 {
     throw new NotImplementedException();
 }
Exemple #4
0
 public override void SelectNext(ISelectionHighlighter h)
 {
 }
 /// <summary>
 /// Moves pointer to next selection
 /// </summary>
 /// <param name="h"></param>
 public abstract void SelectNext(ISelectionHighlighter h);