Firstborn/Library/PackageCache/com.unity.collab-proxy@1.17.7/Editor/Collaborate/Components
Schaken-Mods b486678290 Library -Artifacts
Library -Artifacts
2023-03-28 12:24:16 -05:00
..
ChangeListElements Library -Artifacts 2023-03-28 12:24:16 -05:00
Menus Library -Artifacts 2023-03-28 12:24:16 -05:00
AdapterListView.cs Library -Artifacts 2023-03-28 12:24:16 -05:00
AdapterListView.cs.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
AlertBox.cs Library -Artifacts 2023-03-28 12:24:16 -05:00
AlertBox.cs.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
BetterTextField.cs Library -Artifacts 2023-03-28 12:24:16 -05:00
BetterTextField.cs.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
ChangeEntryGroup.cs Library -Artifacts 2023-03-28 12:24:16 -05:00
ChangeEntryGroup.cs.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
ChangeListElements.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
ChangesGroupHeader.cs Library -Artifacts 2023-03-28 12:24:16 -05:00
ChangesGroupHeader.cs.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
ErrorPageView.cs Library -Artifacts 2023-03-28 12:24:16 -05:00
ErrorPageView.cs.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
HistoryEntryComponent.cs Library -Artifacts 2023-03-28 12:24:16 -05:00
HistoryEntryComponent.cs.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
IconButton.cs Library -Artifacts 2023-03-28 12:24:16 -05:00
IconButton.cs.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
IconTextButton.cs Library -Artifacts 2023-03-28 12:24:16 -05:00
IconTextButton.cs.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
ListNotice.cs Library -Artifacts 2023-03-28 12:24:16 -05:00
ListNotice.cs.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
Menus.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
PageComponent.cs Library -Artifacts 2023-03-28 12:24:16 -05:00
PageComponent.cs.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
Paginator.cs Library -Artifacts 2023-03-28 12:24:16 -05:00
Paginator.cs.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
ProgressView.cs Library -Artifacts 2023-03-28 12:24:16 -05:00
ProgressView.cs.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
README.md Library -Artifacts 2023-03-28 12:24:16 -05:00
README.md.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
SearchBar.cs Library -Artifacts 2023-03-28 12:24:16 -05:00
SearchBar.cs.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
TabPageComponent.cs Library -Artifacts 2023-03-28 12:24:16 -05:00
TabPageComponent.cs.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
TabView.cs Library -Artifacts 2023-03-28 12:24:16 -05:00
TabView.cs.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
TextButton.cs Library -Artifacts 2023-03-28 12:24:16 -05:00
TextButton.cs.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
TopBar.cs Library -Artifacts 2023-03-28 12:24:16 -05:00
TopBar.cs.meta Library -Artifacts 2023-03-28 12:24:16 -05:00

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