Firstborn/Library/PackageCache/com.unity.collab-proxy@1.17.7/Editor/Collaborate/UserInterface
Schaken-Mods b486678290 Library -Artifacts
Library -Artifacts
2023-03-28 12:24:16 -05:00
..
Bootstrap.cs Library -Artifacts 2023-03-28 12:24:16 -05:00
Bootstrap.cs.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
CollaborateWindow.cs Library -Artifacts 2023-03-28 12:24:16 -05:00
CollaborateWindow.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
ToolbarButton.cs Library -Artifacts 2023-03-28 12:24:16 -05:00
ToolbarButton.cs.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
WindowCache.cs Library -Artifacts 2023-03-28 12:24:16 -05:00
WindowCache.cs.meta Library -Artifacts 2023-03-28 12:24:16 -05:00

Collaborate User Interface

This directory contains the logic to present the collaborate UI.

Overview

This is the structure of the directory:

<root>
  ├── TestWindows/
  ├── Bootstrap.cs
  ├── CollaborateWindow.cs
  ├── ToolbarButton.cs
  └── WindowCache.cs

The TestWindows/ directory contains testing windows and is not present in release builds.

Bootstrap.cs provides the code to initialize the toolbar button on start up.

CollaborateWindow.cs is the entry point for the user interface. It spawns a EditorWindow and sets up the UI.

ToolbarButton.cs contains the code to create, update, and handle the collaborate button in the toolbar.

WindowCache.cs provides a collection of fields that are preserved during domain reload and editor restart. Some examples are the the current commit message and the currently selected items for the simple UI/UX. Any data that would impact UX if lost during reload or exit, should be saved in here.