- Home /
Question by
Develax · Jan 20, 2020 at 03:05 PM ·
c#editoreditorwindowhierarchy
How to switch back the Hierarchy window to scene from prefab?
In my 'Editor` script I use Selection.objects
to select some game objects in the scene. But it wouldn't work if at that moment a prefab is opened in the Hierarchy window. How to switch back to scene hierarchy with code?
Comment