-
Notifications
You must be signed in to change notification settings - Fork 7
UI Editor Tutorial 3~1: Resources Textures
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.
- Stored textures.
- Add new textures, glad we support many types of textures so far :).
- It's worth noting that
empty
is a built-in texture and you can't delete it.
When you open the configuration of a widget, you find that some where can accept the texture (e.g. background of Basic Info), and you can drag the texture in.
- Drag texture.
- Rendering a green frame if it can accept this texture.
NOTE: When you drag it to a widget, it replaces its background image by default.
Right-click to open the menu and edit the selected texture.
- Open its configurator.
- Modify the texture type. In general you'd better not modify it, because switching type will not modify references of previous one.
- Some textures provide a preview of the settings, and you can open the file selector by clicking on it.
- You can scale, translate, and rotate the texture by setting its Transform.
NOTE: You can use GroupTexture
with transform to create a more complex texture.
- Combine multi textures.
- Add a new layer.
NOTE: You can create an animation texture by setting the starting and ending of frames, and the interval time.
1. Home
UI Editor Basic Tutorial
- Tutorial 1: Start
- Tutorial 2: Basic Interaction
- Tutorial 3: Resources