Why its so hard to find UI Toolkit Documentation?

I’m currently experimenting with UI Toolkit. And I created some buttons and stuff.
Additionally I created a UIDocument and assigned the uxml file.
It works, but how to connect events with the button?

I’m using Unity 2020.2.2f1.

I got this link:
https://docs.unity3d.com/Packages/com.unity.ui.builder@1.0/manual/uib-getting-started-documents.html
and this link:

with lots of code-snippets, that are unclear to me how to use.

I got some youtube videos.

googling whole day.

But its still unclear to me.

Edit:
This project helps a bit:

3 Likes

I’m having the same issue, particularly if I’m trying to use it during runtime on Unity 2020.3.3f1
I wish the documentation was as laid out as with other base classes like Vector3, but for the most part without any examples I can’t really get around issues I’m having. Heck all I really want to do is change some label text, but cannot seem to get the right Query.

2 Likes

Any videos you could share?

This is an old thread but it came up when I was searching for something and so I wanted to share that we’ve added new runtime documentation for 2023.1:

There’s also this recent blog post about Runtime UI for 2021 LTS: