UXML Runtime - UXML Editor Extension Authoring (possible to use for runtime?)

First of all, I am still learning the UI Toolkit - UI Builder. Using Unity version 2021.2b16. iMac version 11.6.

Studying the file UXML: with the UXML attribute: editor-extension-mode=“True”

It seems reasonable (not sure) that many of these additional elements might be used for an engineering demonstration during runtime.

My question… Can these additional elements by used for runtime?

Thanks

Hi!

For most parts, the editor-extension-mode flag allows the UI Builder to display editor-only controls. These should be used primarily to create editor windows and/or custom inspectors/drawers, but shouldn’t be used in a game. It will work in the editor, but it will fail to compile for a build.

As we add more support for runtime, more and more controls will transition from editor to runtime.

Thanks - Glad to hear… I have realized it might be some time before it’s officially released… So, before the release, I have some time to learn… My study plan…

The different technologies involved is quite complex, so I will be posting my so-called one-page focus problem for learning UI…

It’s already part of Unity on latest versions, which is not to say that it’s feature complete, but it is officially released.

We’ll add more runtime features and more controls as time goes.

Again thanks - so beta versions are considered official releases - good to know. Will update my study plan.

No. What I meant is that runtime support of UI Toolkit was added in 2021.2 directly in Unity. Starting at that version, users should not rely on the experimental UI Toolkit runtime package anymore.

The official Unity 2021.2 release is not out quite yet, but we won’t remove UI Toolkit runtime support from Unity. Sorry for the confusion.

Got it…