Search Unity

A request: better support for default options in menus

Discussion in 'UGUI & TextMesh Pro' started by Dreamwriter, Aug 26, 2014.

  1. Dreamwriter

    Dreamwriter

    Joined:
    Jul 22, 2011
    Posts:
    472
    When targeting controllers rather than touchscreen/mouse, it's very important to be able to choose the default menu option, so when the player opens a menu, they see something highlighted and know what to do. But currently there's no way to ever set default menu options for more than one menu in a scene without resorting to code that I know of, because you set the default menu option in the EventSystem, which gives an error if a second one is loaded at once (when loading in the sub-menu's prefab)

    So when my designer creates a new menu, he has to tell me (the coder) which menu option to make the default, and I have to search for that item in the scene so I can set the variable on the EventSystem, right? And then any time the designer changes which option should be the default, he has to have a coder change that again.

    Also in that situation I need to find all the buttons in the scene and turn off their interactivity, which also seems a waste.