Skip to content

API reference

Enum UiAction

Namespace: MicroEngine.UI
Assembly: MicroEngine.UI.dll
Guide: UI widgets

What a widget is asked to do by the engine’s actions (UiActions): move, confirm or cancel.

C#
public enum UiAction

Fields

Cancel = 5

The cancel action.

Confirm = 4

The confirm action: press the focused button, submit the focused text field.

Down = 1

The down action.

Left = 2

The left action.

Right = 3

The right action.

Up = 0

The up action.