Hello!
I would like to select an asset through an editor script. I have the GUID of the actual asset and from that I can get the asset path and vice versa. The problem is that the Selection singleton (with which I assume I can set the selected file) only works on instance IDs which are unique per runtime - and I don’t know how to get the instance id from a GUID or asset path.
The actual effect I’m after is to open the inspector panel and I figured the easiest way would be to just set the current selection but perhaps there is a better approach?
Cheers