Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Unity EditorWindow scripting

Discussion in 'Getting Started' started by bratan20000, Jun 18, 2022.

  1. bratan20000


    Oct 28, 2021
    HI, guys!
    So, I want to create some sort of Scene in the Editor Window. I need to easier creating decorations for some rooms. So, how it must be looked. You have button "Generate Room" it generate room W x H size. Then you can drop prefabs in this "Scene" in the Editor Window and create this specific patterns of decoration.
    So, I tried inherits from SceneView and create new Scene using : EditorSceneManager.NewScene(NewSceneSetup.EmptyScene, NewSceneMode.Single);
    but when i did this, my main scene overlaps by this new scene.
    Maybe, using Scene here not the best method.
    Perhaps there is a better method to do this.