Use the IMGUIContainer
to place IMGUI code inside of a VisualElement
. Everything you can do inside of OnGUI()
is supported.
You can arrange multiple IMGUIContainer
and lay them out by mixing GUILayout
and UI(User Interface) Allows a user to interact with your application. Unity currently supports three UI systems. More info
See in Glossary Toolkit layouts. Note that it’s not possible to add VisualElement
instances inside of an IMGUIContainer
.