lstmdg cfdbf69074 2023.7.28 2 år sedan
..
ChangeListElements cfdbf69074 2023.7.28 2 år sedan
Menus cfdbf69074 2023.7.28 2 år sedan
AdapterListView.cs cfdbf69074 2023.7.28 2 år sedan
AdapterListView.cs.meta cfdbf69074 2023.7.28 2 år sedan
AlertBox.cs cfdbf69074 2023.7.28 2 år sedan
AlertBox.cs.meta cfdbf69074 2023.7.28 2 år sedan
BetterTextField.cs cfdbf69074 2023.7.28 2 år sedan
BetterTextField.cs.meta cfdbf69074 2023.7.28 2 år sedan
ChangeEntryGroup.cs cfdbf69074 2023.7.28 2 år sedan
ChangeEntryGroup.cs.meta cfdbf69074 2023.7.28 2 år sedan
ChangeListElements.meta cfdbf69074 2023.7.28 2 år sedan
ChangesGroupHeader.cs cfdbf69074 2023.7.28 2 år sedan
ChangesGroupHeader.cs.meta cfdbf69074 2023.7.28 2 år sedan
ErrorPageView.cs cfdbf69074 2023.7.28 2 år sedan
ErrorPageView.cs.meta cfdbf69074 2023.7.28 2 år sedan
HistoryEntryComponent.cs cfdbf69074 2023.7.28 2 år sedan
HistoryEntryComponent.cs.meta cfdbf69074 2023.7.28 2 år sedan
IconButton.cs cfdbf69074 2023.7.28 2 år sedan
IconButton.cs.meta cfdbf69074 2023.7.28 2 år sedan
IconTextButton.cs cfdbf69074 2023.7.28 2 år sedan
IconTextButton.cs.meta cfdbf69074 2023.7.28 2 år sedan
ListNotice.cs cfdbf69074 2023.7.28 2 år sedan
ListNotice.cs.meta cfdbf69074 2023.7.28 2 år sedan
Menus.meta cfdbf69074 2023.7.28 2 år sedan
PageComponent.cs cfdbf69074 2023.7.28 2 år sedan
PageComponent.cs.meta cfdbf69074 2023.7.28 2 år sedan
Paginator.cs cfdbf69074 2023.7.28 2 år sedan
Paginator.cs.meta cfdbf69074 2023.7.28 2 år sedan
ProgressView.cs cfdbf69074 2023.7.28 2 år sedan
ProgressView.cs.meta cfdbf69074 2023.7.28 2 år sedan
README.md cfdbf69074 2023.7.28 2 år sedan
README.md.meta cfdbf69074 2023.7.28 2 år sedan
SearchBar.cs cfdbf69074 2023.7.28 2 år sedan
SearchBar.cs.meta cfdbf69074 2023.7.28 2 år sedan
TabPageComponent.cs cfdbf69074 2023.7.28 2 år sedan
TabPageComponent.cs.meta cfdbf69074 2023.7.28 2 år sedan
TabView.cs cfdbf69074 2023.7.28 2 år sedan
TabView.cs.meta cfdbf69074 2023.7.28 2 år sedan
TextButton.cs cfdbf69074 2023.7.28 2 år sedan
TextButton.cs.meta cfdbf69074 2023.7.28 2 år sedan
TopBar.cs cfdbf69074 2023.7.28 2 år sedan
TopBar.cs.meta cfdbf69074 2023.7.28 2 år sedan

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/.