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()); }
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()); }