Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

EditorGui Popup showing submenu text only

Discussion in 'Documentation' started by EdRozmiarekKI, Dec 16, 2020.

  1. EdRozmiarekKI


    Dec 12, 2019
    I have been looking around a lot but I can't find a way to have an EditorGui Popup display the submenu text only without a bunch of custom code.

    I have a popup that has a large number of choices that I want to break down into categories to make it easier for the user to find and select an option without scrolling forever. So, if I have a submenu option like "A/B/C" and the user selects that, the popup displays "A/B/C" as the choice. Is there a way to have the popup just display the final submenu option, "C" in this case?
    TobyWu likes this.