- Delete `TestScript` and associated components no longer in use. - Refactor `DebugUi` with a generalized labeling system to streamline UI updates and scalability. - Replace inline UI styles in `UI Document` with external USS file for cleaner and maintainable styling. - Update `SampleScene` configurations to align with these changes and remove redundant object references.
10 lines
703 B
Plaintext
10 lines
703 B
Plaintext
<ui:UXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" noNamespaceSchemaLocation="../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
|
|
<Style src="project://database/Assets/debugUi.uss?fileID=7433441132597879392&guid=4a99aa223c8e039408b43c6b0b8a686b&type=3#debugUi" />
|
|
<ui:VisualElement name="labelsContainer" style="flex-grow: 1; justify-content: center;">
|
|
<ui:VisualElement class="labelContainer">
|
|
<ui:Label text="Spring:" class="label" />
|
|
<ui:Label text="Label" style="justify-content: center;" />
|
|
</ui:VisualElement>
|
|
</ui:VisualElement>
|
|
</ui:UXML>
|