File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
AssetDependencyGraph/Editor Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments