private void InitialisePage() { Selectable currentPage = Selectable.GetComponentsInChildren <Selectable>(false).Where((x) => x != Selectable).FirstOrDefault(); _currentSelectable = currentPage.GetCurrentChild(); _currentSelectable.HandleSelect(true); _currentSelectables = currentPage.Children; _currentSelectableIndex = 0; for (; _currentSelectableIndex < _currentSelectables.Length; ++_currentSelectableIndex) { Selectable selectable = _currentSelectables[_currentSelectableIndex]; if (selectable != null && _currentSelectable == selectable) { return; } } _currentSelectableIndex = int.MinValue; }