We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a89eb6b + 1f76157 commit ac191b6Copy full SHA for ac191b6
Assets/MackySoft/MackySoft.SerializeReferenceExtensions/Editor/AdvancedTypePopup.cs
@@ -44,6 +44,11 @@ public static void AddTo (AdvancedDropdownItem root,IEnumerable<Type> types) {
44
if (splittedTypePath.Length <= 1) {
45
continue;
46
}
47
+ // If they explicitly want sub category, let them do.
48
+ if (TypeMenuUtility.GetAttribute(type) != null) {
49
+ isSingleNamespace = false;
50
+ break;
51
+ }
52
for (int k = 0;(splittedTypePath.Length - 1) > k;k++) {
53
string ns = namespaces[k];
54
if (ns == null) {
@@ -54,6 +59,10 @@ public static void AddTo (AdvancedDropdownItem root,IEnumerable<Type> types) {
59
break;
55
60
56
61
62
+
63
+ if (!isSingleNamespace) {
64
65
57
66
58
67
68
// Add type items.
0 commit comments