Can you force an object as selected in the hierarchy editor view via an editor script?
I have an editor window script that collects some objects to give general warnings. I’d like to be able to force them as the selected objects in the hierarchy view for quick reference. Is that possible?
Yeah I had been looking at that doc but wasn't sure how it would take my reference to and add it to that list of selections. Do you just assign a new array of GameObjects to the Selection.gameObjects?
– drastickEven easier - you can just assign to Selection.activeGameObject. It's not read-only.
– Julien-Lynge