Search Unity

UIElements in scene GUI edit time

Discussion in 'UI Toolkit' started by costeab, Aug 10, 2020.

  1. costeab

    costeab

    Joined:
    Apr 20, 2020
    Posts:
    10
    Hi,

    Is it possible to use the UIElements in a custom editor to display controls in scene view? Something like GUILayout.BeginGUI.

    Thank you
     
  2. uDamian

    uDamian

    Unity Technologies

    Joined:
    Dec 11, 2017
    Posts:
    1,231
    Another team is creating a system for attaching tool UIs (ie. toolbars) in the Scene window. This is their section of the forum:
    https://forum.unity.com/forums/world-building.146/

    I would keep an eye out there for a new system for Scene toolbars being announced. You can also ask there for more info on this.

    The existing way of IMGUI to just add UI to the Scene was not salable as tools would often interfere with each other. This is why we didn't port the IMGUI system to UI Toolkit and why a dedicated team has built a proper toolbars API (that works with UI Toolkit UIs) for Scene customization.
     
    psuong and SimonDufour like this.
  3. costeab

    costeab

    Joined:
    Apr 20, 2020
    Posts:
    10
    Thank you Damian.