Skip to content

Commit

Permalink
added select object
Browse files Browse the repository at this point in the history
  • Loading branch information
L1247 committed Dec 10, 2023
1 parent 39627c3 commit 8049ac4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,7 @@ private void DrawProjectFinderEntries(string category)
var prefabType = PrefabUtility.GetPrefabType(asset);
if (entryIsScene) SaveSceneDialog(path);
else if (prefabType == PrefabType.Prefab) AssetDatabase.OpenAsset(asset);
Selection.activeObject = AssetDatabase.LoadMainAssetAtPath(path);
}
else OpenDir(path);
}
Expand Down

0 comments on commit 8049ac4

Please sign in to comment.