Search Unity

  1. Unity 2018.1 has arrived! Read about it here
    Dismiss Notice
  2. Scriptable Render Pipeline improvements, Texture Mipmap Streaming, and more! Check out what we have in store for you in the 2018.2 Beta.
    Dismiss Notice
  3. If you couldn't join the live stream, take a peek at what you missed.
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  5. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  6. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Use scene view and property grid in custom window

Discussion in 'Extensions & OnGUI' started by fettsnoken, May 25, 2018.

  1. fettsnoken


    Mar 30, 2015
    Hi, I want a build a voxel editor which produces a model asset inside the Unity editor. For this I have a custom editor window. The editor window will have a set of toolbars, a property grid and of course a 3D scene view in which the voxels are edited.
    It would be very nice if I could reuse the existing scene view already used by unity for the editing of normal game scenes as well as the existing property grid. Is this is any way possible? Do note that this scene view needs to be scoped to only present the voxels (in whatever way they are represented).
    The model asset which is the output of this editor should be updated more or less in realt ime and be visible in the normal scene view where used.
  2. Madgvox


    Apr 13, 2014
    Yes, this is possible. For drawing GUI to and interacting with the scene view, you can use the
    message or the undocumented

    You can use the EditorSceneManager to create a new empty scene in which to work.