dzduole 4be683fb33 中文和声音头像OK 2 mesiacov pred
..
ChangeListElements 4be683fb33 中文和声音头像OK 2 mesiacov pred
Menus 4be683fb33 中文和声音头像OK 2 mesiacov pred
AdapterListView.cs 4be683fb33 中文和声音头像OK 2 mesiacov pred
AdapterListView.cs.meta 4be683fb33 中文和声音头像OK 2 mesiacov pred
AlertBox.cs 4be683fb33 中文和声音头像OK 2 mesiacov pred
AlertBox.cs.meta 4be683fb33 中文和声音头像OK 2 mesiacov pred
BetterTextField.cs 4be683fb33 中文和声音头像OK 2 mesiacov pred
BetterTextField.cs.meta 4be683fb33 中文和声音头像OK 2 mesiacov pred
ChangeEntryGroup.cs 4be683fb33 中文和声音头像OK 2 mesiacov pred
ChangeEntryGroup.cs.meta 4be683fb33 中文和声音头像OK 2 mesiacov pred
ChangeListElements.meta 4be683fb33 中文和声音头像OK 2 mesiacov pred
ChangesGroupHeader.cs 4be683fb33 中文和声音头像OK 2 mesiacov pred
ChangesGroupHeader.cs.meta 4be683fb33 中文和声音头像OK 2 mesiacov pred
ErrorPageView.cs 4be683fb33 中文和声音头像OK 2 mesiacov pred
ErrorPageView.cs.meta 4be683fb33 中文和声音头像OK 2 mesiacov pred
HistoryEntryComponent.cs 4be683fb33 中文和声音头像OK 2 mesiacov pred
HistoryEntryComponent.cs.meta 4be683fb33 中文和声音头像OK 2 mesiacov pred
IconButton.cs 4be683fb33 中文和声音头像OK 2 mesiacov pred
IconButton.cs.meta 4be683fb33 中文和声音头像OK 2 mesiacov pred
IconTextButton.cs 4be683fb33 中文和声音头像OK 2 mesiacov pred
IconTextButton.cs.meta 4be683fb33 中文和声音头像OK 2 mesiacov pred
ListNotice.cs 4be683fb33 中文和声音头像OK 2 mesiacov pred
ListNotice.cs.meta 4be683fb33 中文和声音头像OK 2 mesiacov pred
Menus.meta 4be683fb33 中文和声音头像OK 2 mesiacov pred
PageComponent.cs 4be683fb33 中文和声音头像OK 2 mesiacov pred
PageComponent.cs.meta 4be683fb33 中文和声音头像OK 2 mesiacov pred
Paginator.cs 4be683fb33 中文和声音头像OK 2 mesiacov pred
Paginator.cs.meta 4be683fb33 中文和声音头像OK 2 mesiacov pred
ProgressView.cs 4be683fb33 中文和声音头像OK 2 mesiacov pred
ProgressView.cs.meta 4be683fb33 中文和声音头像OK 2 mesiacov pred
README.md 4be683fb33 中文和声音头像OK 2 mesiacov pred
README.md.meta 4be683fb33 中文和声音头像OK 2 mesiacov pred
SearchBar.cs 4be683fb33 中文和声音头像OK 2 mesiacov pred
SearchBar.cs.meta 4be683fb33 中文和声音头像OK 2 mesiacov pred
TabPageComponent.cs 4be683fb33 中文和声音头像OK 2 mesiacov pred
TabPageComponent.cs.meta 4be683fb33 中文和声音头像OK 2 mesiacov pred
TabView.cs 4be683fb33 中文和声音头像OK 2 mesiacov pred
TabView.cs.meta 4be683fb33 中文和声音头像OK 2 mesiacov pred
TextButton.cs 4be683fb33 中文和声音头像OK 2 mesiacov pred
TextButton.cs.meta 4be683fb33 中文和声音头像OK 2 mesiacov pred
TopBar.cs 4be683fb33 中文和声音头像OK 2 mesiacov pred
TopBar.cs.meta 4be683fb33 中文和声音头像OK 2 mesiacov pred

README.md

Resources

This directory contains the UIElements-based user interface components.

Overview

Each component is defined as its own class and file in this directory.

Adding a New Component

Each component is a C# class that extends the UiElements' VisualElement class and provides a UXML factory. If no UXML parameters are required/desired, a simple factory like this (taken from AlertBar) works:

public new class UxmlFactory : UxmlFactory<AlertBar> { }

Just adding this line to the bottom of the component class with the <AlertBar> replaced with the name of the class. Adding UXML parameters used to be covered in the official docs. Until it is returned: look at the source code for any UiElements class such as TextElement.

To use the component in UXML (with editor inspections) the xml schema needs to be updated within the Unity Editor. Instructions on how to do that is contained in ../Assets/.