ProjektMWS/Projekt MWS/Library/PackageCache/com.unity.collab-proxy@1.3.9/Editor/Components
2021-06-28 19:31:12 +02:00
..
ChangeListElements Initial commit 2021-06-28 19:31:12 +02:00
Menus Initial commit 2021-06-28 19:31:12 +02:00
AdapterListView.cs Initial commit 2021-06-28 19:31:12 +02:00
AdapterListView.cs.meta Initial commit 2021-06-28 19:31:12 +02:00
AlertBox.cs Initial commit 2021-06-28 19:31:12 +02:00
AlertBox.cs.meta Initial commit 2021-06-28 19:31:12 +02:00
BetterTextField.cs Initial commit 2021-06-28 19:31:12 +02:00
BetterTextField.cs.meta Initial commit 2021-06-28 19:31:12 +02:00
ChangeEntryGroup.cs Initial commit 2021-06-28 19:31:12 +02:00
ChangeEntryGroup.cs.meta Initial commit 2021-06-28 19:31:12 +02:00
ChangeListElements.meta Initial commit 2021-06-28 19:31:12 +02:00
ChangesGroupHeader.cs Initial commit 2021-06-28 19:31:12 +02:00
ChangesGroupHeader.cs.meta Initial commit 2021-06-28 19:31:12 +02:00
ErrorPageView.cs Initial commit 2021-06-28 19:31:12 +02:00
ErrorPageView.cs.meta Initial commit 2021-06-28 19:31:12 +02:00
HistoryEntryComponent.cs Initial commit 2021-06-28 19:31:12 +02:00
HistoryEntryComponent.cs.meta Initial commit 2021-06-28 19:31:12 +02:00
IconButton.cs Initial commit 2021-06-28 19:31:12 +02:00
IconButton.cs.meta Initial commit 2021-06-28 19:31:12 +02:00
IconTextButton.cs Initial commit 2021-06-28 19:31:12 +02:00
IconTextButton.cs.meta Initial commit 2021-06-28 19:31:12 +02:00
ListNotice.cs Initial commit 2021-06-28 19:31:12 +02:00
ListNotice.cs.meta Initial commit 2021-06-28 19:31:12 +02:00
Menus.meta Initial commit 2021-06-28 19:31:12 +02:00
PageComponent.cs Initial commit 2021-06-28 19:31:12 +02:00
PageComponent.cs.meta Initial commit 2021-06-28 19:31:12 +02:00
Paginator.cs Initial commit 2021-06-28 19:31:12 +02:00
Paginator.cs.meta Initial commit 2021-06-28 19:31:12 +02:00
ProgressView.cs Initial commit 2021-06-28 19:31:12 +02:00
ProgressView.cs.meta Initial commit 2021-06-28 19:31:12 +02:00
README.md Initial commit 2021-06-28 19:31:12 +02:00
README.md.meta Initial commit 2021-06-28 19:31:12 +02:00
SearchBar.cs Initial commit 2021-06-28 19:31:12 +02:00
SearchBar.cs.meta Initial commit 2021-06-28 19:31:12 +02:00
TabPageComponent.cs Initial commit 2021-06-28 19:31:12 +02:00
TabPageComponent.cs.meta Initial commit 2021-06-28 19:31:12 +02:00
TabView.cs Initial commit 2021-06-28 19:31:12 +02:00
TabView.cs.meta Initial commit 2021-06-28 19:31:12 +02:00
TextButton.cs Initial commit 2021-06-28 19:31:12 +02:00
TextButton.cs.meta Initial commit 2021-06-28 19:31:12 +02:00
TopBar.cs Initial commit 2021-06-28 19:31:12 +02:00
TopBar.cs.meta Initial commit 2021-06-28 19:31:12 +02: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/.