PO/Library/PackageCache/com.unity.collab-proxy@1.9.0/Editor/Collaborate/Components
Залетов Федор 573b3fda65 Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
..
ChangeListElements Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
Menus Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
AdapterListView.cs Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
AdapterListView.cs.meta Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
AlertBox.cs Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
AlertBox.cs.meta Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
BetterTextField.cs Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
BetterTextField.cs.meta Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
ChangeEntryGroup.cs Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
ChangeEntryGroup.cs.meta Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
ChangeListElements.meta Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
ChangesGroupHeader.cs Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
ChangesGroupHeader.cs.meta Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
ErrorPageView.cs Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
ErrorPageView.cs.meta Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
HistoryEntryComponent.cs Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
HistoryEntryComponent.cs.meta Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
IconButton.cs Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
IconButton.cs.meta Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
IconTextButton.cs Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
IconTextButton.cs.meta Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
ListNotice.cs Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
ListNotice.cs.meta Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
Menus.meta Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
PageComponent.cs Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
PageComponent.cs.meta Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
Paginator.cs Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
Paginator.cs.meta Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
ProgressView.cs Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
ProgressView.cs.meta Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
README.md Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
README.md.meta Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
SearchBar.cs Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
SearchBar.cs.meta Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
TabPageComponent.cs Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
TabPageComponent.cs.meta Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
TabView.cs Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
TabView.cs.meta Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
TextButton.cs Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
TextButton.cs.meta Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
TopBar.cs Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00
TopBar.cs.meta Okey, really realy first commit. Troubleshooting errors 2022-01-12 10:39:15 +03:00

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