public override void Update(UiFocusContainer container) { if (_inputSystem.Up(InputDetectionType.PressedOnce, DirectionalInputTypes.All)) { InvokeMoveToPreviousElement(); } if (_inputSystem.Down(InputDetectionType.PressedOnce, DirectionalInputTypes.All)) { InvokeMoveToNextElement(); } if (_inputSystem.Accept(AcceptInputTypes.Buttons)) { InvokeAction(container.CurrentElement); } }