How do I get started?

Hi all

Just watched the Unity UIElements Copenhagen video and can’t wait to get started!

Installed the packages successfully, built a basic UI using the UI Builder interface, all of this was fairly easy… but how do I get the thing onto the actual game screen?!

Thanks!

Hi! I recommend also watching this somewhat dated but still valid video explaining the UI Toolkit (formally UIElements) VisualElement API a bit, and showing how UXML, USS, and C# all work together.

Example code:

For Runtime, please have look a this thread:

In short, Runtime is not officially supported yet but you can extract it from the Unite CPH demo project if you’d like to play with it. Stay tuned for the official UI Toolkit package (which will include official Runtime support) later this year.