Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

UI Editor Tutorial 3~3: Resources Entries

KilaBash edited this page Dec 13, 2022 · 1 revision

Overall

The UI Project contains three built-in resources: textures, colors and lang entries. Resources are owned by projects and cannot be shared between projects.

If you want the current project's resources to be available in other projects, you can export the resources first and then open other projects to import it.

image

Entries

Enties stores key-value, which can be regard as a lang file.

When you open a configuration, you find that some where can accept the number (e.g. color of the label widget), and you can drag the color in. You can fill in your localization data, and then export to the lang file directly (W.I.P)

Use it

image

  1. Drag entries.
  2. Rendering a green frame if it can accept a string.

NOTE: When you drag it to a widget, it replaces its hover tooltips by default.

image

Edit Entries

Right-click to open the menu and edit its vaule.

image

  1. Typing your text here.

You can right-click to open the menu and rename its key.