-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
⚡ perf(prefab-refinary): Improved Same Value Detection
- Loading branch information
Showing
4 changed files
with
173 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 5 additions & 6 deletions
11
Packages/com.nekometer.esnya.esnya-unity-tools/Editor/Resources/PrefabRefinery.uxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements"> | ||
<uie:Toolbar style="justify-content: center;"> | ||
<ui:Label text="Prefab" style="flex-shrink: 1; flex-grow: 1; flex-basis: 0; -unity-text-align: middle-left; left: 4px;" /> | ||
<ui:Label text="Modified Object" style="flex-shrink: 1; flex-grow: 1; flex-basis: 0; -unity-text-align: middle-left; left: 4px;" /> | ||
<ui:Label text="Original Object" style="flex-shrink: 1; flex-grow: 1; flex-basis: 0; -unity-text-align: middle-left; left: 4px;" /> | ||
<uie:Toolbar style="justify-content: center; flex-shrink: 0; flex-direction: row;"> | ||
<ui:Label text="Prefab" style="flex-shrink: 0.5; flex-grow: 0; flex-basis: 100px; -unity-text-align: middle-left; left: 4px;" /> | ||
<ui:Label text="Object" style="flex-shrink: 0.5; flex-grow: 0; flex-basis: 100px; -unity-text-align: middle-left; left: 4px;" /> | ||
<ui:Label text="Property Path" style="flex-shrink: 1; flex-grow: 1; flex-basis: 0; -unity-text-align: middle-left; left: 4px;" /> | ||
<ui:Label text="Value" style="flex-shrink: 1; flex-grow: 1; flex-basis: 0; -unity-text-align: middle-left; left: 4px;" /> | ||
<ui:Label text="Overriden Value" style="flex-shrink: 1; flex-grow: 1; flex-basis: 0; -unity-text-align: middle-left; left: 4px;" /> | ||
<ui:Button name="revert-all" text="Revert" /> | ||
</uie:Toolbar> | ||
<ui:ScrollView style="flex-grow: 1;"> | ||
<ui:VisualElement name="modifications" style="flex-grow: 1; flex-shrink: 0; justify-content: flex-end;" /> | ||
<ui:Label text="Select Prefab on Hierarchy or Project Window" style="-unity-text-align: middle-center;" /> | ||
<ui:Label text="Select Prefab on Hierarchy or Project Window and Press Scan below" style="-unity-text-align: middle-center;" /> | ||
</ui:ScrollView> | ||
<ui:Button name="scan" text="Scan" /> | ||
</ui:UXML> |
Oops, something went wrong.