Unity position element in global view with UI Toolkit
Hi!
Has anyone tried to position a UI element (Ui Document) from the UI Toolkit in the global view?
I don't want to have a HUD that this a "whole" since they are some scripts attached to each elements (spell bar, health bar, menu...)
However, without using absolute position I don't feel that's possible 🤔
Is this intended to just have a global UI in only one document?
2 Replies
What do you mean global view? You can set the absolute position
It cannot however render in 3D world if that is what you mean
In the scene I’m using multiple ui documents that add the systems I need, for example the health bar or spell bar.
However the only way to position them is absolute
I was wondering if we could do that with relative positions instead since it’s easier to deal with centering etc