Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How do you make a submenu item under the Window menu in Unity?

Discussion in 'Immediate Mode GUI (IMGUI)' started by jerotas, Mar 24, 2015.

  1. jerotas

    jerotas

    Joined:
    Sep 4, 2011
    Posts:
    5,572
    I currently have 3 items that appear separately under the Window menu, but I would like them to all be sub-items of a new parent item.

    I have seen other plugins have a parent item but I can't figure it out. How is that done?

    Currently they show up under "Window" from class declarations like this:

    Code (csharp):
    1.  
    2. public class MasterAudioManager : EditorWindow {
    3. }
    4.  
     
  2. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
  3. jerotas

    jerotas

    Joined:
    Sep 4, 2011
    Posts:
    5,572
    Thank you!

    Why is an page like that not on Unity's site somewhere?
     
  4. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    jerotas likes this.