private void OnInputEndEdit(InputField input, string text) { if (Input.GetKeyDown(KeyCode.Return) || Input.GetKeyDown(KeyCode.KeypadEnter)) { var next = input.FindSelectableOnRight(); if (next == null || !next.IsInteractable()) { next = input.FindSelectableOnDown(); } if (next != null && next.IsInteractable()) { next.Select(); } } }