Beispiel #1
0
 public override Selectable FindSelectableOnDown()
 {
     if ((navigation.mode & Navigation.Mode.Vertical) != 0 || _autoNavDown)
     {
         return(UISelectionUtility.FindNextSelectable(this, transform, Selectable.allSelectables, transform.rotation * Vector3.down));
     }
     return(base.FindSelectableOnDown());
 }
Beispiel #2
0
 public override Selectable FindSelectableOnRight()
 {
     if ((navigation.mode & Navigation.Mode.Horizontal) != 0 || _autoNavRight)
     {
         return(UISelectionUtility.FindNextSelectable(this, transform, Selectable.allSelectables, transform.rotation * Vector3.right));
     }
     return(base.FindSelectableOnRight());
 }