protected override void InitializeSelector() { TransitionHandlerInterface[] pickedTransitions = MenuReloadedUtil.MapTransitionEnumToHandler(transitions); ElementPressedHandler[] pickedPressedHandler = MenuReloadedUtil.MapElementPressedEnumToHandler(pressedHandlerEnum); selector = new CharacterSelector(startIndex, components, pickedTransitions, pickedPressedHandler, selectionHelper, this, false); }
protected virtual void InitializeSelector() { TransitionHandlerInterface[] pickedTransitions = MenuReloadedUtil.MapTransitionEnumToHandler(transitions); ElementPressedHandler[] pickedPressedHandler = MenuReloadedUtil.MapElementPressedEnumToHandler(pressedHandlerEnum); if (menuSelection != MenuSelection.SubSelection) { selector = new Selector(startIndex, components, pickedTransitions, pickedPressedHandler, true); } else { selector = new SelectorWithSubSelector(startIndex, components, pickedTransitions, pickedPressedHandler, false, MenuReloadedUtil.MapTransitionEnumToHandler(subSelectorTransition)); } }