Version: 2019.1 (switch to 2018.3 or 2017.4)
Bindings
ViewData persistence
Other Versions

Supporting IMGUI

Use the IMGUIContainer to place IMGUI code inside of a VisualElement. Everything you can normally do inside of OnGUI() is supported.

You can arrange multiple IMGUIContainer and lay them out by mixing GUILayout and UIElements layouts. Note that it is not possible to add VisualElement instances inside of an IMGUIContainer.

IMGUIContainer example
IMGUIContainer example

Did you find this page useful? Please give it a rating:

Bindings
ViewData persistence