Editor-Script: Select files in project view via script...

Hi,

i have a json file which contains geometries asset names. Now I want to write an editor script which select these files in the project view automatically. Then i want to do some other stuff on these.
Any idea how it works?

Thanks for any input.
(I´ve tested sth with “EditorGuiUtility.PingObject” but it didn´t work.)

Use some tricks to find the paths of the assets of which you only have the names, then use AssetDatabase.LoadAssetAtPath to get a reference to these assets and Selection.activeObject to select them.

It’s probably the easiest if all these assets are in the root of the same folder, in which case you just select the folder and select each asset at the folders path + assetname.