Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Show text and images.
  • Receive user-input.
  • Render directly to the screen, or render to a texture.
  • Organise the UI with layout groups.

Introduction

The UI in C# runs basically on two classes. The first class is the UIElement-class, which inherits from SceneObject and adds support for a RectTransform. The RectTransform defines information about the location, orientation and size of each UIElement. The second class is the UIComponent-class, which defines the behavior of the UIElement. Each UIElement can have multiple UIComponents.

...