Ejemplo n.º 1
0
 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);
     }
 }