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 367bf20 + 04920fa commit a89eb6bCopy full SHA for a89eb6b
1 file changed
Assets/MackySoft/MackySoft.SerializeReferenceExtensions/Editor/TypeMenuUtility.cs
@@ -32,6 +32,11 @@ public static IEnumerable<Type> OrderByType (this IEnumerable<Type> source) {
32
return -999;
33
}
34
return GetAttribute(type)?.Order ?? 0;
35
+ }).ThenBy(type => {
36
+ if (type == null) {
37
+ return null;
38
+ }
39
+ return GetAttribute(type)?.MenuName ?? type.Name;
40
});
41
42
0 commit comments