Skip to content

Commit 0574f00

Browse files
committed
version 3.0.0
commit 359c8cf Author: Sammmte <santiagoperez.-@hotmail.com> Date: Wed Dec 10 08:56:27 2025 -0300 updated package readme commit 598d190 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Wed Dec 10 08:46:35 2025 -0300 updated readme, removed npm install section as it will no longer be supported commit 60c4b58 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Mon Dec 8 22:08:20 2025 -0300 updated samples and readme commit aac73eb Author: Sammmte <santiagoperez.-@hotmail.com> Date: Mon Dec 8 22:07:21 2025 -0300 fixed sample elements path. Fixed warning when no orphan elements are found commit 731bb84 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Mon Dec 8 21:58:17 2025 -0300 updated samples, readme and changelog. Also updated some menu items and minor things commit 1823207 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sun Dec 7 16:44:47 2025 -0300 prevent showing empty orphans group. Removed log commit 3c7770d Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sun Dec 7 16:39:16 2025 -0300 set autoreferenced = true commit 18b3af7 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sun Dec 7 16:36:42 2025 -0300 updated package json, changelog and samples commit d76c935 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sun Dec 7 16:33:54 2025 -0300 removed unnecessary things. Fixed possible non existing directories on file write. commit 95f568d Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sun Dec 7 16:22:17 2025 -0300 refactored various recommended styles commit 2d3e05f Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sun Dec 7 16:10:16 2025 -0300 refactor to support unity 6.3 changes commit c2423e4 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Tue Nov 5 10:10:44 2024 -0300 updated changelog commit 3110162 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Tue Nov 5 10:09:11 2024 -0300 updated readme commit 6d336c9 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Tue Nov 5 09:58:45 2024 -0300 removed debug commit f7c9b57 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Tue Nov 5 09:57:57 2024 -0300 set full name of ui toolkit debugger window commit be1b190 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Tue Nov 5 09:45:21 2024 -0300 using different methods to show group popup on mac and windows commit 781fe66 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Mon Nov 4 22:41:32 2024 -0300 Revert "using ShowAsDropDownForMainToolbar for mac compatibility" This reverts commit 8348882. commit 18484fd Author: Sammmte <santiagoperez.-@hotmail.com> Date: Mon Nov 4 21:31:01 2024 -0300 updated readme commit ea7b04c Author: Sammmte <santiagoperez.-@hotmail.com> Date: Mon Nov 4 21:20:30 2024 -0300 removing padding from elements containers' parent commit 8348882 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Mon Nov 4 20:19:55 2024 -0300 using ShowAsDropDownForMainToolbar for mac compatibility commit eea93de Author: Sammmte <santiagoperez.-@hotmail.com> Date: Mon Nov 4 17:03:49 2024 -0300 updated samples commit 0546c1f Author: Sammmte <santiagoperez.-@hotmail.com> Date: Mon Nov 4 15:21:29 2024 -0300 updated readme commit 30500f6 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Mon Nov 4 15:18:36 2024 -0300 update readme commit b1c9d9c Author: Sammmte <santiagoperez.-@hotmail.com> Date: Mon Nov 4 15:06:01 2024 -0300 updated samples and readme commit 1c7b63c Author: Sammmte <santiagoperez.-@hotmail.com> Date: Mon Nov 4 13:06:18 2024 -0300 updated changelog and package.json commit 13f5904 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Mon Nov 4 12:47:41 2024 -0300 updated native elements for Unity 6 commit 0b9b264 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Mon Nov 4 12:28:11 2024 -0300 removed Delete Actions menu item commit 5396e0f Author: Sammmte <santiagoperez.-@hotmail.com> Date: Mon Nov 4 12:07:04 2024 -0300 removed newtonsoft json completely from project. Created UserSettingsPrefs to save generic values. commit ab541eb Author: Sammmte <santiagoperez.-@hotmail.com> Date: Mon Nov 4 11:15:59 2024 -0300 removed debug tools from productive code commit a71ac8a Author: Sammmte <santiagoperez.-@hotmail.com> Date: Mon Nov 4 11:13:55 2024 -0300 using Unity Serialization to serialize everything related to serializable values commit ecfac80 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Mon Nov 4 11:09:09 2024 -0300 using field or property name as serialization key if serialize attribute has one that is null or empty commit 16c7011 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Mon Nov 4 10:13:14 2024 -0300 loading serialized values lazily commit 9044a6f Author: Sammmte <santiagoperez.-@hotmail.com> Date: Mon Nov 4 09:45:24 2024 -0300 implemented custom serialization key for serialized values to prevent data loss when refactoring names commit 4f92e7c Author: Sammmte <santiagoperez.-@hotmail.com> Date: Mon Nov 4 09:35:54 2024 -0300 variable watchers saves current state when there is no elements commit ab55ab1 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Mon Nov 4 09:19:39 2024 -0300 serialized values are now stored in a file under UserSettings folder commit e5a4dca Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sun Nov 3 22:18:01 2024 -0300 writing minified json on value serializer commit a5d346d Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sun Nov 3 22:13:03 2024 -0300 using value serializer to do comparisons as it is far easier commit cc2c748 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sun Nov 3 19:53:11 2024 -0300 improved rigidbody sample commit 204687d Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sun Nov 3 19:45:26 2024 -0300 added some comments to samples commit 6f23c33 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sun Nov 3 19:39:03 2024 -0300 fixed watchet trying to access type of possibly null value. Updating values after restore to prevent saving more than once commit 71bc076 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sun Nov 3 19:38:22 2024 -0300 adapted and fixed samples commit db59126 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sun Nov 3 19:26:22 2024 -0300 removed old serializable value classes commit 1c8641a Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sun Nov 3 19:16:07 2024 -0300 fixed compilation error commit f5a7ec6 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sun Nov 3 19:15:06 2024 -0300 minor refactor commit d0f3063 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sun Nov 3 18:53:51 2024 -0300 improved equality check. Checking collections by value commit 13046ec Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sun Nov 3 16:02:17 2024 -0300 refactored field and property variables commit 8e262af Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sun Nov 3 15:37:38 2024 -0300 using Unity Serialization to serialize values commit 5f0d912 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Fri Nov 1 23:47:50 2024 -0300 restoring values correctly commit 8b92673 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Fri Nov 1 23:30:00 2024 -0300 using value serializer commit fbbca53 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Fri Nov 1 22:48:05 2024 -0300 fixed nulls on deserialization and duplicates commit 1bd17ee Author: Sammmte <santiagoperez.-@hotmail.com> Date: Fri Nov 1 22:33:01 2024 -0300 serializing and saving elements when any value changes commit 4123b1e Author: Sammmte <santiagoperez.-@hotmail.com> Date: Thu Oct 31 21:26:24 2024 -0300 started implementation of reflection value watcher commit fc461e9 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Fri Oct 11 01:33:59 2024 -0300 allowed empty object for json net serialization commit 8dd3c01 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Tue Oct 8 12:15:42 2024 -0300 group popup window won't close when ObjectSelector and SearchPickerWindow are focused. Added samples for serialization commit 7948e92 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sun Oct 6 05:16:42 2024 -0300 added full support for EnumFlagsField commit f237353 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sun Oct 6 04:37:16 2024 -0300 added samples of new recommended style supported elements commit b853a31 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sun Oct 6 04:24:07 2024 -0300 substracted SerializedUnityObject struct from serializer class commit e5ae7a4 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sun Oct 6 04:22:12 2024 -0300 fixed gameobject component deserialization failing when said component has a negative file id commit efbfdc4 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sun Oct 6 03:52:44 2024 -0300 handled null unity objects commit 530816f Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sat Oct 5 06:55:01 2024 -0300 serializer can serialize and restore a specific gameobject component commit 0a829eb Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sat Oct 5 06:54:17 2024 -0300 added project tool to debug editor prefs of user values commit 6cc8d2d Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sat Oct 5 05:53:56 2024 -0300 added full support for serializing unity engine objects commit 5ec21a1 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sat Oct 5 04:49:00 2024 -0300 improved json serialization commit e6e75ca Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sat Oct 5 04:19:20 2024 -0300 added recommended style for object field commit 9d5bd13 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sat Oct 5 04:15:27 2024 -0300 minor refactor on paramenter name commit 7b49bf1 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sat Oct 5 04:07:30 2024 -0300 added recommended styles for enum and tag fields. Improved recommended style for dropdownfield commit 7409eba Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sat Oct 5 03:48:37 2024 -0300 created recommended styles for color and layer fields commit 60110e7 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Sat Oct 5 03:34:20 2024 -0300 added samples for vector 2 and vector 3 fields commit 4814881 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Fri Oct 4 22:56:59 2024 -0300 JsonEditorPrefs logic was separated to an instance class to have multiple of them. Using one for tool keys and other for user custom values commit 8fb5990 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Fri Oct 4 21:59:37 2024 -0300 added recommended styles for vector2 and vector3 fields commit c0f6743 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Fri Oct 4 20:34:24 2024 -0300 separated persistence and serialization logic from serializable value commit 36cca26 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Thu Oct 3 20:57:50 2024 -0300 handled cases in where JsonUtility returns an empty json object for object types that supposedly not supported. Overrided ToString for better readability commit d171422 Author: Sammmte <santiagoperez.-@hotmail.com> Date: Thu Oct 3 14:28:04 2024 -0300 created serializable value
1 parent eab014c commit 0574f00

98 files changed

Lines changed: 1156 additions & 1309 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Assets/Package/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# Changelog
22

3+
## [3.0.0]
4+
5+
### Added
6+
7+
- Support to work along Unity's new toolbar customization API
8+
- Ever present group with any MainToolbarElement that can't be placed into the toolbar directly
9+
10+
### Changed
11+
12+
- MainToolbarElement must have a Unity toolbar API counterpart with same id to be placed into the toolbar
13+
- Root groups are only possible if a Unity toolbar API element with same id as the group exists
14+
- How most of recommended styles work
15+
16+
### Removed
17+
18+
- ToolbarAlign enum
19+
- Unity Native elements from main control panel window. If you want to hide Unity elements, use Unity's new API
20+
- MainToolbar class from public API
21+
322
## [2.0.0]
423

524
### Added

Assets/Package/Editor/ByAttributeMainToolbarElementRepository.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ private MainToolbarElement GetMainToolbarElementFromType(Type type)
2424
if (string.IsNullOrEmpty(elementInstance.name))
2525
elementInstance.name = elementInstance.GetType().Name;
2626

27-
return new MainToolbarElement(attribute.Id, elementInstance, attribute.Alignment,
28-
attribute.Order, attribute.UseRecommendedStyles);
27+
return new MainToolbarElement(attribute.Id, elementInstance,
28+
attribute.UseRecommendedStyles);
2929
}
3030

3131
private bool IsValidVisualElementType(Type type)

Assets/Package/Editor/ControlPanelWindow/MainToolbarControlPanelWindow.cs

Lines changed: 4 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ namespace Paps.UnityToolbarExtenderUIToolkit
88
{
99
public class MainToolbarControlPanelWindow : EditorWindow
1010
{
11-
private const string NATIVE_ELEMENTS_CONTAINER_NAME = "UnityNativeElementsContainer";
12-
private const string NATIVE_ELEMENTS_FOLDOUT_TEXT = "Unity Native Elements";
13-
1411
private const string SINGLE_ELEMENTS_CONTAINER_NAME = "SingleElementsContainer";
1512
private const string SINGLE_ELEMENTS_FOLDOUT_TEXT = "Single Elements";
1613

@@ -19,7 +16,6 @@ public class MainToolbarControlPanelWindow : EditorWindow
1916

2017
private const float MAIN_CONTAINER_PADDING_TOP = 5;
2118

22-
private OrganizationalFoldableContainer _nativeElementsContainer;
2319
private OrganizationalFoldableContainer _singleElementsContainer;
2420
private OrganizationalFoldableContainer _groupElementsContainer;
2521
private MainToolbarElementController[] _controllers;
@@ -38,7 +34,6 @@ public static void OpenWindow()
3834

3935
private void CreateGUI()
4036
{
41-
MainToolbarAutomaticExtender.OnAddedCustomContainersToToolbar += Refresh;
4237
MainToolbarAutomaticExtender.OnRefresh += Refresh;
4338

4439
BuildFixedGUI();
@@ -50,7 +45,6 @@ private void CreateGUI()
5045

5146
private void OnDestroy()
5247
{
53-
MainToolbarAutomaticExtender.OnAddedCustomContainersToToolbar -= Refresh;
5448
MainToolbarAutomaticExtender.OnRefresh -= Refresh;
5549
}
5650

@@ -71,8 +65,6 @@ private void BuildFixedGUI()
7165
SINGLE_ELEMENTS_CONTAINER_NAME, SINGLE_ELEMENTS_FOLDOUT_TEXT);
7266
_groupElementsContainer = new OrganizationalFoldableContainer(
7367
GROUP_ELEMENTS_CONTAINER_NAME, GROUP_ELEMENTS_FOLDOUT_TEXT);
74-
_nativeElementsContainer = new OrganizationalFoldableContainer(
75-
NATIVE_ELEMENTS_CONTAINER_NAME, NATIVE_ELEMENTS_FOLDOUT_TEXT);
7668

7769
_noElementsMessageElement = CreateNoElementsMessageElement();
7870

@@ -96,7 +88,6 @@ private void SetCorrespondingView()
9688
{
9789
_windowContainer.Add(_singleElementsContainer);
9890
_windowContainer.Add(_groupElementsContainer);
99-
_windowContainer.Add(_nativeElementsContainer);
10091
}
10192
}
10293
else
@@ -105,7 +96,6 @@ private void SetCorrespondingView()
10596
{
10697
_windowContainer.Remove(_singleElementsContainer);
10798
_windowContainer.Remove(_groupElementsContainer);
108-
_windowContainer.Remove(_nativeElementsContainer);
10999
}
110100

111101
if (!_windowContainer.Contains(_noElementsMessageElement))
@@ -117,17 +107,14 @@ private void BuildDynamicGUI()
117107
{
118108
_controllers = CreateControllers();
119109

120-
var controllersOfNativeElements = _controllers
121-
.Where(controller => controller.HoldsANativeElement);
122110
var controllersOfGroups = _controllers
123111
.Where(controller => controller.HoldsAGroup);
124112
var controllersOfSingleElements = _controllers
125-
.Where(controller => !controller.HoldsAGroup && !controller.HoldsANativeElement)
113+
.Where(controller => !controller.HoldsAGroup)
126114
.Where(controller => SingleControllerIsNotInsideAGroupController(controller, controllersOfGroups));
127115

128116
_singleElementsContainer.SetControllers(controllersOfSingleElements);
129117
_groupElementsContainer.SetControllers(controllersOfGroups);
130-
_nativeElementsContainer.SetControllers(controllersOfNativeElements);
131118
}
132119

133120
private static bool SingleControllerIsNotInsideAGroupController(MainToolbarElementController controller, IEnumerable<MainToolbarElementController> controllersOfGroups)
@@ -167,8 +154,7 @@ private OverridableElement[] GetSubElementsIfAny(OverridableElement overridableE
167154
return MainToolbarAutomaticExtender.GetElementsOfGroup(overridableElement.Id)
168155
.Select(el => new OverridableElement(
169156
el.Id,
170-
el.VisualElement,
171-
false)
157+
el.VisualElement)
172158
)
173159
.ToArray();
174160
}
@@ -178,25 +164,14 @@ private OverridableElement[] GetSubElementsIfAny(OverridableElement overridableE
178164

179165
private OverridableElement[] GetOverridableElements()
180166
{
181-
var nativeElements = MainToolbarAutomaticExtender.NativeElements
182-
.Select(nativeElement => new OverridableElement(
183-
nativeElement.Id,
184-
nativeElement.VisualElement,
185-
true
186-
)
187-
);
188-
189167
var customElements = MainToolbarAutomaticExtender.CustomMainToolbarElements
190168
.Concat(MainToolbarAutomaticExtender.GroupElements)
191169
.Select(mainToolbarElement => new OverridableElement(
192170
mainToolbarElement.Id,
193-
mainToolbarElement.VisualElement,
194-
false
195-
)
171+
mainToolbarElement.VisualElement)
196172
);
197173

198-
return nativeElements.Concat(customElements)
199-
.ToArray();
174+
return customElements.ToArray();
200175
}
201176

202177
private VisualElement CreateNoElementsMessageElement()

Assets/Package/Editor/ControlPanelWindow/MainToolbarElementController.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,12 @@ internal class MainToolbarElementController : VisualElement
2323
public string Id { get; }
2424
public VisualElement ControlledVisualElement { get; }
2525
public bool HoldsAGroup => _foldout != null;
26-
public bool HoldsANativeElement { get; private set; }
2726

2827
public MainToolbarElementController(OverridableElement overridableElement,
2928
IMainToolbarElementOverrideRepository overridesRepository, params OverridableElement[] subElements)
3029
{
3130
Id = overridableElement.Id;
3231
ControlledVisualElement = overridableElement.VisualElement;
33-
HoldsANativeElement = overridableElement.IsNative;
3432
name = Id + "-Controller";
3533
_overridesRepository = overridesRepository;
3634

Assets/Package/Editor/ControlPanelWindow/OverridableElement.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@ internal readonly struct OverridableElement
66
{
77
public string Id { get; }
88
public VisualElement VisualElement { get; }
9-
public bool IsNative { get; }
109

11-
public OverridableElement(string id, VisualElement visualElement, bool isNative)
10+
public OverridableElement(string id, VisualElement visualElement)
1211
{
1312
Id = id;
1413
VisualElement = visualElement;
15-
IsNative = isNative;
1614
}
1715
}
1816
}

Assets/Package/Editor/GroupDefinitions/GroupDefinition.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,13 @@ internal readonly struct GroupDefinition
66
{
77
public string GroupId { get; }
88
public string GroupName { get; }
9-
public ToolbarAlign Alignment { get; }
109
public int Order { get; }
1110
public string[] ToolbarElementsIds { get; }
1211

13-
public GroupDefinition(string groupId, string groupName, ToolbarAlign alignment, int order, string[] toolbarElementsIds)
12+
public GroupDefinition(string groupId, string groupName, int order, string[] toolbarElementsIds)
1413
{
1514
GroupId = groupId;
1615
GroupName = string.IsNullOrEmpty(groupName) ? groupId : groupName;
17-
Alignment = alignment;
1816
Order = order;
1917
ToolbarElementsIds = toolbarElementsIds;
2018
}
@@ -23,7 +21,6 @@ public bool AreEquals(GroupDefinition other)
2321
{
2422
return GroupId == other.GroupId &&
2523
GroupName == other.GroupName &&
26-
Alignment == other.Alignment &&
2724
Order == other.Order &&
2825
AreEquals(ToolbarElementsIds, other.ToolbarElementsIds);
2926
}

Assets/Package/Editor/GroupDefinitions/ScriptableGroupDefinition.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ public sealed class ScriptableGroupDefinition : ScriptableObject
1111
[SerializeField]
1212
[Tooltip("Text to display in group element dropdown")]
1313
private string _groupName;
14-
[SerializeField]
15-
[Tooltip("Alignment when used as root element. Ignored inside other groups")]
16-
private ToolbarAlign _alignment;
1714
[Tooltip("Order when used as root element. Ignored inside other groups. Order of elements inside a group is determined by ToolbarElementsIds array elements order.")]
1815
[SerializeField] private int _order;
1916
[SerializeField]
@@ -22,7 +19,6 @@ public sealed class ScriptableGroupDefinition : ScriptableObject
2219

2320
public string GroupId => _groupId;
2421
public string GroupName => _groupName;
25-
public ToolbarAlign Alignment => _alignment;
2622
public int Order => _order;
2723
public string[] ToolbarElementsIds => _toolbarElementsIds == null ? new string[0] : _toolbarElementsIds;
2824

Assets/Package/Editor/GroupDefinitions/ScriptableObjectGroupDefinitionRepository.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ public GroupDefinition[] GetAll()
1818
.Select(scriptableGroupDefinition => new GroupDefinition(
1919
scriptableGroupDefinition.GroupId,
2020
scriptableGroupDefinition.GroupName,
21-
scriptableGroupDefinition.Alignment,
2221
scriptableGroupDefinition.Order,
2322
FilterIds(scriptableGroupDefinition)
2423
)

Assets/Package/Editor/Helpers/ToolInfo.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
{
33
internal static class ToolInfo
44
{
5+
public const string BASE_PATH = "Tools";
56
public const string COMPANY_NAME = "Paps";
67
public const string FRIENDLY_TOOL_NAME = "Unity Toolbar Extender UI Toolkit";
7-
public const string EDITOR_MENU_BASE = COMPANY_NAME + "/" + FRIENDLY_TOOL_NAME;
8+
public const string EDITOR_MENU_BASE = BASE_PATH + "/" + COMPANY_NAME + "/" + FRIENDLY_TOOL_NAME;
9+
public const string MAIN_TOOLBAR_MENU_BASE = COMPANY_NAME + "/" + FRIENDLY_TOOL_NAME;
810
}
911
}

Assets/Package/Editor/Helpers/UnityNativeElementsIds.cs

Lines changed: 0 additions & 120 deletions
This file was deleted.

0 commit comments

Comments
 (0)