How do I actually display the UI?

I’ve tried searching for a while on how to actually display the created UI in the scene but can’t find anything in the forums or manual.

There’s a more recent demo project here: GitHub - Unity-Technologies/UIToolkitUnityRoyaleRuntimeDemo: This is a sample project to introduce the use of UI Toolkit in Runtime
The components have changed since the Copenhagen presentation, you now need a PanelSettings asset and UIDocument. If you right click on the Hierarchy view and select UI Toolkit > UI Document, it’ll create the Game Object with the necessary stuff put in place for you on your scene.

Thanks for the reply. I don’t actually have the option for selecting UI Toolkit > UI Document in the hierarchy or on a component. Do I need to do something else to fully install the package? I’ve installed the most recent UI Builder preview package in the package manager.

Yes, you need to install the UI Toolkit package as well :slight_smile:
Follow the steps at the bottom of this document on either Unity 2020.1 or 2020.2 (NOTE: 2020.2 has to be 2020.2.0b2 or earlier, it’s not yet compatible with b4): Unity - Manual: The UI Toolkit Package

1 Like