mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-01-08 10:13:25 +08:00
Add assembly name to class search result labels
This commit is contained in:
parent
601567f9d2
commit
5b516eb4cc
@ -131,7 +131,10 @@ namespace UnityExplorer.ObjectExplorer
|
||||
{
|
||||
string text;
|
||||
if (m_context == SearchContext.Class)
|
||||
text = SignatureHighlighter.Parse(currentResults[index] as Type, true);
|
||||
{
|
||||
var type = currentResults[index] as Type;
|
||||
text = $"{SignatureHighlighter.Parse(type, true)} <color=grey><i>({type.Assembly.GetName().Name})</i></color>";
|
||||
}
|
||||
else
|
||||
text = ToStringUtility.ToStringWithType(currentResults[index], currentResults[index]?.GetActualType());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user