Skip to content

Unity UI Toolkit to Scene Hierarchy Question

Hey there everyone! We started using Unity's UI Toolkit to polish the final version of our game, Rising Spire- and I wanted to know if anyone knew if there was a way to export the hierarchy from the UXML file and import those elements to be Game Objects into the Hierarchy on the Scene.
Our code relies on being able to call game elements from the scene hierarchy and we want to use the UI Toolkit to build the rest of our UI, but we aren't sure if that's even possible.
Any and all help would be highly appreciated! Thanks :)

​

0 points0 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 50% up
Kind
Text
ID
16b2igc

Author

64
posts
70
comments
62
media
View profile
Nobody had commented when we saved it.

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.