Skip to content

Commit e6641be

Browse files
committed
"Show Root Asset's Name" setting is enabled by default + root asset's name is prepended by "in" word for more clarity
1 parent a6d91a5 commit e6641be

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Plugins/AssetUsageDetector/Editor/AssetUsageDetectorSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public static float ExtraRowHeight
9999
private static bool? m_showRootAssetName = null;
100100
public static bool ShowRootAssetName
101101
{
102-
get { if( m_showRootAssetName == null ) m_showRootAssetName = EditorPrefs.GetBool( "AUD_ShowRootAssetName", false ); return m_showRootAssetName.Value; }
102+
get { if( m_showRootAssetName == null ) m_showRootAssetName = EditorPrefs.GetBool( "AUD_ShowRootAssetName", true ); return m_showRootAssetName.Value; }
103103
set { if( m_showRootAssetName == value ) return; m_showRootAssetName = value; EditorPrefs.SetBool( "AUD_ShowRootAssetName", value ); }
104104
}
105105

Plugins/AssetUsageDetector/Editor/SearchResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@ public void InitializeRecursively()
12321232
{
12331233
string mainAssetName = Path.GetFileNameWithoutExtension( AssetDatabase.GetAssetPath( unityObject ) );
12341234
if( unityObject.name != mainAssetName )
1235-
Label += " <" + mainAssetName + ">";
1235+
Label += " <in " + mainAssetName + ">";
12361236
}
12371237
}
12381238
else if( nodeObject != null )

0 commit comments

Comments
 (0)