I want to add a scene view to my editor window. Is there any solution to achieve that?
I don’t think there’s a way to embed the SceneView in another EditorWindow. The SceneView is itself an EditorWindow which handles a lot of internal state and complex logic, custom OnSceneGUI, etc.
Not that it’s easy to use but you can do this with PreviewRenderUtility, it’s undocumented but can be quite useful.
Here is a link to a user that made some documentation for it.
1 Like