Merge pull request #23 from yellowisher/improve/name_as_tie_breaker
Use menu name or type name as tie breaker.
This commit is contained in:
commit
a89eb6bb87
@ -32,6 +32,11 @@ namespace MackySoft.SerializeReferenceExtensions.Editor {
|
||||
return -999;
|
||||
}
|
||||
return GetAttribute(type)?.Order ?? 0;
|
||||
}).ThenBy(type => {
|
||||
if (type == null) {
|
||||
return null;
|
||||
}
|
||||
return GetAttribute(type)?.MenuName ?? type.Name;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user