Skip to content

Commit 5efdd15

Browse files
committed
Fix up some typos
1 parent b7a1105 commit 5efdd15

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

AssetDependencyGraph/Editor/AssetDependencyGraph.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public void OnEnable()
7979
};
8080

8181
toolbar.Add(options);
82-
toolbar.Add(new Button(ExplodeAsset)
82+
toolbar.Add(new Button(ExploreAsset)
8383
{
8484
text = "Explore Asset",
8585
});
@@ -102,12 +102,12 @@ public void OnDisable()
102102
rootVisualElement.Remove(m_GraphView);
103103
}
104104

105-
private void ExplodeAsset()
105+
private void ExploreAsset()
106106
{
107107
Object obj = Selection.activeObject;
108108
string assetPath = AssetDatabase.GetAssetPath(obj);
109109

110-
// assetPath will be empty is obj is null or isn't an asset (a scene object)
110+
// assetPath will be empty if obj is null or isn't an asset (a scene object)
111111
if (obj == null || string.IsNullOrEmpty(assetPath))
112112
return;
113113

0 commit comments

Comments
 (0)